Joram 5.0.9

org.objectweb.joram.kclient
Class AbstractMessage

java.lang.Object
  extended by org.objectweb.joram.kclient.AbstractMessage
All Implemented Interfaces:
Streamable
Direct Known Subclasses:
AbstractReply, AbstractRequest

public abstract class AbstractMessage
extends java.lang.Object
implements Streamable


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 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_SUB_REQUEST
           
protected static int CONSUMER_UNSUB_REQUEST
           
protected static int MOM_EXCEPTION_REPLY
           
protected static int NULL_CLASS_ID
           
protected static int PRODUCER_MESSAGES
           
protected static int SERVER_REPLY
           
protected static int SESS_ACK_REQUEST
           
protected static int SESS_DENY_REQUEST
           
 
Constructor Summary
AbstractMessage()
          Constructs an AbstractJmsMessage.
 
Method Summary
protected abstract  int getClassId()
           
static AbstractMessage read(InputXStream is)
           
 java.lang.String toString()
           
abstract  void toString(java.lang.StringBuffer strbuf)
           
static void write(AbstractMessage msg, OutputXStream os)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.objectweb.joram.kclient.Streamable
readFrom, writeTo
 

Field Detail

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
Constructor Detail

AbstractMessage

public AbstractMessage()
Constructs an AbstractJmsMessage.

Method Detail

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

Joram 5.0.9

Copyright © 2005 Scalagent - All rights reserved