org.objectweb.joram.shared.client.CnxConnectReply Class Reference

Inherits org.objectweb.joram.shared.client.AbstractJmsReply.

Inheritance diagram for org.objectweb.joram.shared.client.CnxConnectReply:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.joram.shared.client.CnxConnectReply:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void setCnxKey (int cnxKey)
int getCnxKey ()
void setProxyId (String proxyId)
String getProxyId ()
 CnxConnectReply (CnxConnectRequest req, int cnxKey, String proxyId)
 CnxConnectReply ()
void writeTo (OutputStream os) throws IOException
void readFrom (InputStream is) throws IOException

Protected Member Functions

int getClassId ()

Detailed Description

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.

Definition at line 37 of file CnxConnectReply.java.


Constructor & Destructor Documentation

org.objectweb.joram.shared.client.CnxConnectReply.CnxConnectReply ( CnxConnectRequest  req,
int  cnxKey,
String  proxyId 
)

Constructs a CnxConnectReply.

Parameters:
req The replied request.
cnxKey The connection's key.
proxyId The proxy's identifier.

Definition at line 78 of file CnxConnectReply.java.

References org.objectweb.joram.shared.client.AbstractJmsRequest.getRequestId().

Here is the call graph for this function:

org.objectweb.joram.shared.client.CnxConnectReply.CnxConnectReply (  ) 

Constructs a CnxConnectReply.

Definition at line 87 of file CnxConnectReply.java.


Member Function Documentation

void org.objectweb.joram.shared.client.CnxConnectReply.setCnxKey ( int  cnxKey  ) 

Sets the connection key.

Definition at line 45 of file CnxConnectReply.java.

int org.objectweb.joram.shared.client.CnxConnectReply.getCnxKey (  ) 

Returns the connection's key.

Definition at line 50 of file CnxConnectReply.java.

Referenced by org.objectweb.joram.client.jms.Connection.Connection().

void org.objectweb.joram.shared.client.CnxConnectReply.setProxyId ( String  proxyId  ) 

Sets the proxy's identifier

Definition at line 58 of file CnxConnectReply.java.

String org.objectweb.joram.shared.client.CnxConnectReply.getProxyId (  ) 

Returns the proxy's identifier

Definition at line 63 of file CnxConnectReply.java.

Referenced by org.objectweb.joram.client.jms.Connection.Connection().

void org.objectweb.joram.shared.client.CnxConnectReply.writeTo ( OutputStream  os  )  throws IOException

The object implements the writeTo method to write its contents to the output stream.

Parameters:
os the stream to write the object to

Reimplemented from org.objectweb.joram.shared.client.AbstractJmsReply.

Definition at line 99 of file CnxConnectReply.java.

void org.objectweb.joram.shared.client.CnxConnectReply.readFrom ( InputStream  is  )  throws IOException

The object implements the readFrom method to restore its contents from the input stream.

Parameters:
is the stream to read data from in order to restore the object

Reimplemented from org.objectweb.joram.shared.client.AbstractJmsReply.

Definition at line 111 of file CnxConnectReply.java.


The documentation for this class was generated from the following file:
Generated on Tue Sep 16 16:20:56 2008 for joram by  doxygen 1.5.0