org.objectweb.joram.shared.client
Class AbstractJmsMessage
java.lang.Object
org.objectweb.joram.shared.client.AbstractJmsMessage
- All Implemented Interfaces:
- Streamable, java.io.Externalizable, java.io.Serializable
- Direct Known Subclasses:
- AbstractJmsReply, AbstractJmsRequest
public abstract class AbstractJmsMessage
- extends java.lang.Object
- implements java.io.Externalizable, Streamable
An AbstractJmsMessage
is a message exchanged between a
Joram client and its proxy.
- See Also:
- Serialized Form
Method Summary |
protected abstract int |
getClassId()
|
static AbstractJmsMessage |
read(java.io.InputStream is)
|
void |
readExternal(java.io.ObjectInput in)
|
java.util.Hashtable |
soapCode()
|
static java.lang.Object |
soapDecode(java.util.Hashtable h)
|
static void |
write(AbstractJmsMessage msg,
java.io.OutputStream os)
***** ***** ***** ***** ***** ***** *****
Streamable interface
***** ***** ***** ***** ***** ***** ***** ***** |
void |
writeExternal(java.io.ObjectOutput out)
***** ***** ***** ***** ***** ***** *****
Externalizable interface
***** ***** ***** ***** ***** ***** ***** ***** |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
public static org.objectweb.util.monolog.api.Logger logger
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
COMMIT_REQUEST
protected static final int COMMIT_REQUEST
- See Also:
- Constant Field Values
CONSUMER_CLOSE_SUB_REQUEST
protected static final int CONSUMER_CLOSE_SUB_REQUEST
- See Also:
- Constant Field Values
CONSUMER_SET_LIST_REQUEST
protected static final int CONSUMER_SET_LIST_REQUEST
- See Also:
- Constant Field Values
CONSUMER_UNSET_LIST_REQUEST
protected static final int CONSUMER_UNSET_LIST_REQUEST
- See Also:
- Constant Field Values
GET_ADMIN_TOPIC_REPLY
protected static final int GET_ADMIN_TOPIC_REPLY
- See Also:
- Constant Field Values
GET_ADMIN_TOPIC_REQUEST
protected static final int GET_ADMIN_TOPIC_REQUEST
- See Also:
- Constant Field Values
JMS_REQUEST_GROUP
protected static final int JMS_REQUEST_GROUP
- See Also:
- Constant Field Values
PING_REQUEST
protected static final int PING_REQUEST
- See Also:
- Constant Field Values
QBROWSE_REPLY
protected static final int QBROWSE_REPLY
- See Also:
- Constant Field Values
QBROWSE_REQUEST
protected static final int QBROWSE_REQUEST
- See Also:
- Constant Field Values
SESS_CREATE_DEST_REPLY
protected static final int SESS_CREATE_DEST_REPLY
- See Also:
- Constant Field Values
SESS_CREATE_DEST_REQUEST
protected static final int SESS_CREATE_DEST_REQUEST
- See Also:
- Constant Field Values
XXX_SESS_CREATE_TTREQUEST
protected static final int XXX_SESS_CREATE_TTREQUEST
- See Also:
- Constant Field Values
TEMP_DEST_DELETE_REQUEST
protected static final int TEMP_DEST_DELETE_REQUEST
- See Also:
- Constant Field Values
XA_CNX_COMMIT
protected static final int XA_CNX_COMMIT
- See Also:
- Constant Field Values
XA_CNX_PREPARE
protected static final int XA_CNX_PREPARE
- See Also:
- Constant Field Values
XA_CNX_RECOVER_REPLY
protected static final int XA_CNX_RECOVER_REPLY
- See Also:
- Constant Field Values
XA_CNX_RECOVER_REQUEST
protected static final int XA_CNX_RECOVER_REQUEST
- See Also:
- Constant Field Values
XA_CNX_ROLLBACK
protected static final int XA_CNX_ROLLBACK
- See Also:
- Constant Field Values
classid
protected int classid
classnames
protected static final java.lang.String[] classnames
AbstractJmsMessage
public AbstractJmsMessage()
- Constructs an
AbstractJmsMessage
.
getClassId
protected abstract int getClassId()
soapCode
public java.util.Hashtable soapCode()
throws java.io.IOException
- Throws:
java.io.IOException
soapDecode
public static java.lang.Object soapDecode(java.util.Hashtable h)
throws java.lang.Exception
- Throws:
ClassNotFound
java.lang.InstantiationException
java.lang.IllegalAccessException
java.io.IOException
java.lang.Exception
writeExternal
public final void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- ***** ***** ***** ***** ***** ***** *****
Externalizable interface
***** ***** ***** ***** ***** ***** ***** *****
- Specified by:
writeExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException
readExternal
public final void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
readExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
write
public static void write(AbstractJmsMessage msg,
java.io.OutputStream os)
throws java.io.IOException
- ***** ***** ***** ***** ***** ***** *****
Streamable interface
***** ***** ***** ***** ***** ***** ***** *****
- Throws:
java.io.IOException
read
public static AbstractJmsMessage read(java.io.InputStream 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 © 2010 ScalAgent D.T.. All Rights Reserved.