org.objectweb.joram.kclient
Class AbstractMessage
java.lang.Object
org.objectweb.joram.kclient.AbstractMessage
- All Implemented Interfaces:
- Streamable
- Direct Known Subclasses:
- AbstractReply, AbstractRequest
public abstract class AbstractMessage
- extends java.lang.Object
- implements Streamable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NULL_CLASS_ID
protected static final int NULL_CLASS_ID
- See Also:
- Constant Field Values
CNX_CONNECT_REQUEST
protected static final int CNX_CONNECT_REQUEST
- See Also:
- Constant Field Values
CNX_CONNECT_REPLY
protected static final int CNX_CONNECT_REPLY
- See Also:
- Constant Field Values
CNX_START_REQUEST
protected static final int CNX_START_REQUEST
- See Also:
- Constant Field Values
CNX_STOP_REQUEST
protected static final int CNX_STOP_REQUEST
- See Also:
- Constant Field Values
CNX_CLOSE_REQUEST
protected static final int CNX_CLOSE_REQUEST
- See Also:
- Constant Field Values
CNX_CLOSE_REPLY
protected static final int CNX_CLOSE_REPLY
- See Also:
- Constant Field Values
PRODUCER_MESSAGES
protected static final int PRODUCER_MESSAGES
- See Also:
- Constant Field Values
CONSUMER_RECEIVE_REQUEST
protected static final int CONSUMER_RECEIVE_REQUEST
- See Also:
- Constant Field Values
CONSUMER_MESSAGES
protected static final int CONSUMER_MESSAGES
- See Also:
- Constant Field Values
CONSUMER_SUB_REQUEST
protected static final int CONSUMER_SUB_REQUEST
- See Also:
- Constant Field Values
CONSUMER_UNSUB_REQUEST
protected static final int CONSUMER_UNSUB_REQUEST
- See Also:
- Constant Field Values
CONSUMER_ACK_REQUEST
protected static final int CONSUMER_ACK_REQUEST
- See Also:
- Constant Field Values
CONSUMER_DENY_REQUEST
protected static final int CONSUMER_DENY_REQUEST
- See Also:
- Constant Field Values
SESS_ACK_REQUEST
protected static final int SESS_ACK_REQUEST
- See Also:
- Constant Field Values
SESS_DENY_REQUEST
protected static final int SESS_DENY_REQUEST
- See Also:
- Constant Field Values
MOM_EXCEPTION_REPLY
protected static final int MOM_EXCEPTION_REPLY
- See Also:
- Constant Field Values
SERVER_REPLY
protected static final int SERVER_REPLY
- See Also:
- Constant Field Values
ACTIVATE_CONSUMER_REQUEST
protected static final int ACTIVATE_CONSUMER_REQUEST
- See Also:
- Constant Field Values
CONSUMER_CLOSE_SUB_REQUEST
protected static final int CONSUMER_CLOSE_SUB_REQUEST
- See Also:
- Constant Field Values
classid
protected int classid
classnames
protected static final java.lang.String[] classnames
AbstractMessage
public AbstractMessage()
- Constructs an
AbstractJmsMessage
.
getClassId
protected abstract int getClassId()
toString
public final java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toString
public abstract void toString(java.lang.StringBuffer strbuf)
write
public static void write(AbstractMessage msg,
OutputXStream os)
throws java.io.IOException
- Throws:
java.io.IOException
read
public static AbstractMessage read(InputXStream is)
throws java.io.IOException,
java.lang.ClassNotFoundException,
java.lang.InstantiationException,
java.lang.IllegalAccessException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
Copyright © 2005 Scalagent - All rights reserved