Joram 5.0.9

org.objectweb.joram.kclient
Class CnxConnectReply

java.lang.Object
  extended by org.objectweb.joram.kclient.AbstractMessage
      extended by org.objectweb.joram.kclient.AbstractReply
          extended by org.objectweb.joram.kclient.CnxConnectReply
All Implemented Interfaces:
Streamable

public final class CnxConnectReply
extends AbstractReply

A CnxConnectReply is sent by a JMS proxy as a reply to a connection CnxConnectRequest and holds the connection's key and the proxy identifier.


Field Summary
 
Fields inherited from class org.objectweb.joram.kclient.AbstractReply
correlationId
 
Fields inherited from class org.objectweb.joram.kclient.AbstractMessage
ACTIVATE_CONSUMER_REQUEST, classid, classnames, CNX_CLOSE_REPLY, CNX_CLOSE_REQUEST, CNX_CONNECT_REPLY, CNX_CONNECT_REQUEST, CNX_START_REQUEST, CNX_STOP_REQUEST, CONSUMER_ACK_REQUEST, CONSUMER_CLOSE_SUB_REQUEST, CONSUMER_DENY_REQUEST, CONSUMER_MESSAGES, CONSUMER_RECEIVE_REQUEST, CONSUMER_SUB_REQUEST, CONSUMER_UNSUB_REQUEST, MOM_EXCEPTION_REPLY, NULL_CLASS_ID, PRODUCER_MESSAGES, SERVER_REPLY, SESS_ACK_REQUEST, SESS_DENY_REQUEST
 
Constructor Summary
CnxConnectReply()
          Constructs a CnxConnectReply.
 
Method Summary
protected  int getClassId()
           
 int getCnxKey()
          Returns the connection's key.
 java.lang.String getProxyId()
          Returns the proxy's identifier
 void readFrom(InputXStream is)
          The object implements the readFrom method to restore its contents from the input stream.
 
Methods inherited from class org.objectweb.joram.kclient.AbstractReply
getCorrelationId, toString, writeTo
 
Methods inherited from class org.objectweb.joram.kclient.AbstractMessage
read, toString, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CnxConnectReply

public CnxConnectReply()
Constructs a CnxConnectReply.

Method Detail

getCnxKey

public int getCnxKey()
Returns the connection's key.


getProxyId

public java.lang.String getProxyId()
Returns the proxy's identifier


getClassId

protected int getClassId()
Specified by:
getClassId in class AbstractMessage

readFrom

public void readFrom(InputXStream is)
              throws java.io.IOException
The object implements the readFrom method to restore its contents from the input stream.

Specified by:
readFrom in interface Streamable
Overrides:
readFrom in class AbstractReply
Parameters:
is - the stream to read data from in order to restore the object
Throws:
java.io.IOException

Joram 5.0.9

Copyright © 2005 Scalagent - All rights reserved