|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.distinct.rpc.XDRObj
XDRStream| Constructor Summary | |
XDRObj()
|
|
| Method Summary | |
static boolean |
obj_decode_boolean(java.lang.Object Obj)
Decodes a boolean. |
static char |
obj_decode_char(java.lang.Object Obj)
Decodes a character. |
static double |
obj_decode_double(java.lang.Object Obj)
Decodes a double. |
static float |
obj_decode_float(java.lang.Object Obj)
Decodes a float. |
static int |
obj_decode_int(java.lang.Object Obj)
Decodes an integer. |
static long |
obj_decode_long(java.lang.Object Obj)
Decodes a long. |
static byte[] |
obj_decode_opaque(java.lang.Object Obj,
int len)
Decodes a opaque data with a fixed length. |
static short |
obj_decode_short(java.lang.Object Obj)
Decodes a short. |
static java.lang.String |
obj_decode_String(java.lang.Object Obj)
Decodes a String with a variable length. |
static java.lang.String |
obj_decode_String(java.lang.Object Obj,
int len)
Decodes a String with a fixed length. |
static java.lang.Object |
obj_encode_boolean(boolean x)
Encodes a boolean. |
static java.lang.Object |
obj_encode_char(char x)
Encodes a character. |
static java.lang.Object |
obj_encode_double(double data)
Encodes a double. |
static java.lang.Object |
obj_encode_float(float data)
Encodes a float. |
static java.lang.Object |
obj_encode_int(int x)
Encodes an integer. |
static java.lang.Object |
obj_encode_long(long x)
Encodes a long. |
static java.lang.Object |
obj_encode_opaque(byte[] b,
int len)
Encodes opaque data with a fixed length. |
static java.lang.Object |
obj_encode_short(short x)
Encodes a short. |
static java.lang.Object |
obj_encode_String(java.lang.String s)
Encodes a String with a variable length. |
static java.lang.Object |
obj_encode_String(java.lang.String s,
int len)
Encodes a String with a fixed length. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XDRObj()
| Method Detail |
public static java.lang.Object obj_encode_int(int x)
x - The integer to be encoded.
public static int obj_decode_int(java.lang.Object Obj)
throws RPCError
RPCError - When the calls fails for any reason.public static java.lang.Object obj_encode_long(long x)
x - The long to be encoded.
public static long obj_decode_long(java.lang.Object Obj)
throws RPCError
RPCError - When the calls fails for any reason.public static java.lang.Object obj_encode_short(short x)
x - The short to be encoded.
public static short obj_decode_short(java.lang.Object Obj)
throws RPCError
RPCError - When the calls fails for any reason.public static java.lang.Object obj_encode_char(char x)
x - The character to be encoded.
public static char obj_decode_char(java.lang.Object Obj)
throws RPCError
RPCError - When the calls fails for any reason.public static java.lang.Object obj_encode_boolean(boolean x)
x - The boolean to be encoded.
public static boolean obj_decode_boolean(java.lang.Object Obj)
throws RPCError
RPCError - When the calls fails for any reason.public static java.lang.Object obj_encode_float(float data)
data - The float to be encoded.
public static float obj_decode_float(java.lang.Object Obj)
throws RPCError
RPCError - When the calls fails for any reason.public static java.lang.Object obj_encode_double(double data)
data - The double to be encoded.
public static double obj_decode_double(java.lang.Object Obj)
throws RPCError
RPCError - When the calls fails for any reason.public static java.lang.Object obj_encode_String(java.lang.String s)
s - The String to be encoded.
public static java.lang.String obj_decode_String(java.lang.Object Obj)
throws RPCError
Obj - The Object that contains the data.
RPCError - When the calls fails for any reason.
public static java.lang.Object obj_encode_String(java.lang.String s,
int len)
s - The String to be encoded.len - The max length of the encoded string.
public static java.lang.String obj_decode_String(java.lang.Object Obj,
int len)
throws RPCError
Obj - The Object that contains the data.len - The max length of the encoded string.
RPCError - When the calls fails for any reason.
public static java.lang.Object obj_encode_opaque(byte[] b,
int len)
b - The opaque data to be encoded.len - The max length of the encoded string.
public static byte[] obj_decode_opaque(java.lang.Object Obj,
int len)
throws RPCError
Obj - The Object that contains the data.len - The max length of the encoded opaque data.
RPCError - When the calls fails for any reason.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||