|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--unitee.common.UniteeProtocol
Defines the protocol constants used to interact with a UniteeServer , mostly to invoke remote methods.
Field Summary | |
static byte |
ARRAY
The data is as follows. |
static byte |
BOOLEAN
|
static byte |
CHARACTER
|
static byte |
CLASS
|
static java.lang.Class[] |
classes
|
static byte |
DISCONNECT
|
static byte |
DOUBLE
|
static byte |
EXCEPTION
|
static byte |
FLOAT
|
static byte |
INTEGER
|
static byte |
INVALID_REQUEST
|
static byte |
INVOKE_METHOD
|
static byte |
LONG
|
static byte |
METHOD_HASH
|
static byte |
METHOD_NAME
|
static byte |
METHOD_NOT_FOUND
|
static byte |
NULL
|
static byte |
OBJECT
|
static byte |
OBJECT_NOT_FOUND
|
static byte |
OK
|
static byte |
PRINT_STREAM
|
static byte |
SHORT
|
static byte |
STRING
|
static int |
UNITEE_SERVER_PORT
|
static byte |
VOID
|
Constructor Summary | |
UniteeProtocol()
|
Method Summary | |
static byte |
getClassIndex(java.lang.Class c)
|
static int |
getMethodHash(java.lang.reflect.Method method)
|
static boolean |
isPrimitive(java.lang.Class c)
|
static boolean |
isPrimitive(int classIndex)
|
static java.lang.Object |
readObject(java.io.DataInputStream input)
|
static java.lang.Object |
readObject(java.io.DataInputStream input,
int classIndex,
java.io.OutputStream clientOutputStream)
|
static Streamable |
readObject(java.io.DataInputStream input,
Streamable s)
|
static StreamableArray |
readObject(java.io.DataInputStream input,
StreamableArray array)
|
static void |
writeObject(java.io.DataOutputStream output,
java.lang.Object value,
java.lang.Class type,
ObjectRepository repository)
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final int UNITEE_SERVER_PORT
public static final byte INVOKE_METHOD
public static final byte DISCONNECT
public static final byte METHOD_NAME
public static final byte METHOD_HASH
public static final byte CHARACTER
public static final byte SHORT
public static final byte BOOLEAN
public static final byte INTEGER
public static final byte LONG
public static final byte FLOAT
public static final byte DOUBLE
public static final byte VOID
public static final byte STRING
public static final byte OBJECT
public static final byte PRINT_STREAM
public static final byte NULL
public static final byte ARRAY