galaxy.lang
Class GalaxyMessage
java.lang.Object
|
+--galaxy.lang.GalaxyMessage
- Direct Known Subclasses:
- BrokerEndMessage, BrokerStartMessage, DestroyMessage, DisconnectMessage, ErrorMessage, NewMessage, ObjectMessage, PostponeMessage, ReplyMessage
- public abstract class GalaxyMessage
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GAL_OBJECT_MSG_TYPE
public static final int GAL_OBJECT_MSG_TYPE
- Message Type information
GAL_MESSAGE_MSG_TYPE
public static final int GAL_MESSAGE_MSG_TYPE
GAL_REPLY_MSG_TYPE
public static final int GAL_REPLY_MSG_TYPE
GAL_DESTROY_MSG_TYPE
public static final int GAL_DESTROY_MSG_TYPE
GAL_BROKER_START_MSG_TYPE
public static final int GAL_BROKER_START_MSG_TYPE
GAL_BROKER_END_MSG_TYPE
public static final int GAL_BROKER_END_MSG_TYPE
GAL_ERROR_MSG_TYPE
public static final int GAL_ERROR_MSG_TYPE
GAL_DISCONNECT_MSG_TYPE
public static final int GAL_DISCONNECT_MSG_TYPE
GAL_POSTPONE_MSG_TYPE
public static final int GAL_POSTPONE_MSG_TYPE
msgType
protected int msgType
data
protected java.lang.Object data
typeToName
public static java.util.Map typeToName
GalaxyMessage
public GalaxyMessage()
getData
public java.lang.Object getData()
getType
public int getType()
createMessage
public static final GalaxyMessage createMessage(java.lang.Object data,
int type)
throws java.lang.Exception
getTypeName
public static java.lang.String getTypeName(int type)