Joram 5.2.4

org.objectweb.joram.shared.client
Class AbstractJmsMessage

java.lang.Object
  extended by org.objectweb.joram.shared.client.AbstractJmsMessage
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, Streamable
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

Field Summary
protected static int ACTIVATE_CONSUMER_REQUEST
           
protected  int classid
           
protected static java.lang.String[] classnames
           
protected static int CNX_CLOSE_REPLY
           
protected static int CNX_CLOSE_REQUEST
           
protected static int CNX_CONNECT_REPLY
           
protected static int CNX_CONNECT_REQUEST
           
protected static int CNX_START_REQUEST
           
protected static int CNX_STOP_REQUEST
           
protected static int COMMIT_REQUEST
           
protected static int CONSUMER_ACK_REQUEST
           
protected static int CONSUMER_CLOSE_SUB_REQUEST
           
protected static int CONSUMER_DENY_REQUEST
           
protected static int CONSUMER_MESSAGES
           
protected static int CONSUMER_RECEIVE_REQUEST
           
protected static int CONSUMER_SET_LIST_REQUEST
           
protected static int CONSUMER_SUB_REQUEST
           
protected static int CONSUMER_UNSET_LIST_REQUEST
           
protected static int CONSUMER_UNSUB_REQUEST
           
protected static int GET_ADMIN_TOPIC_REPLY
           
protected static int GET_ADMIN_TOPIC_REQUEST
           
protected static int JMS_REQUEST_GROUP
           
static org.objectweb.util.monolog.api.Logger logger
           
protected static int MOM_EXCEPTION_REPLY
           
protected static int NULL_CLASS_ID
           
protected static int PING_REQUEST
           
protected static int PRODUCER_MESSAGES
           
protected static int QBROWSE_REPLY
           
protected static int QBROWSE_REQUEST
           
protected static int SERVER_REPLY
           
protected static int SESS_ACK_REQUEST
           
protected static int SESS_CREATE_TDREPLY
           
protected static int SESS_CREATE_TQREQUEST
           
protected static int SESS_CREATE_TTREQUEST
           
protected static int SESS_DENY_REQUEST
           
protected static int TEMP_DEST_DELETE_REQUEST
           
protected static int XA_CNX_COMMIT
           
protected static int XA_CNX_PREPARE
           
protected static int XA_CNX_RECOVER_REPLY
           
protected static int XA_CNX_RECOVER_REQUEST
           
protected static int XA_CNX_ROLLBACK
           
 
Constructor Summary
AbstractJmsMessage()
          Constructs an AbstractJmsMessage.
 
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
 
Methods inherited from interface org.objectweb.joram.shared.stream.Streamable
readFrom, writeTo
 

Field Detail

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_TDREPLY

protected static final int SESS_CREATE_TDREPLY
See Also:
Constant Field Values

SESS_CREATE_TQREQUEST

protected static final int SESS_CREATE_TQREQUEST
See Also:
Constant Field Values

SESS_CREATE_TTREQUEST

protected static final int 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
Constructor Detail

AbstractJmsMessage

public AbstractJmsMessage()
Constructs an AbstractJmsMessage.

Method Detail

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

Joram 5.2.4

Copyright © 2000 - 2009 Scalagent D.T. - All rights reserved