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

Inherits org.objectweb.joram.shared.client.AbstractJmsMessage.

Inherited by org.objectweb.joram.shared.client.CnxCloseReply, org.objectweb.joram.shared.client.CnxConnectReply, org.objectweb.joram.shared.client.ConsumerMessages, org.objectweb.joram.shared.client.GetAdminTopicReply, org.objectweb.joram.shared.client.MomExceptionReply, org.objectweb.joram.shared.client.QBrowseReply, org.objectweb.joram.shared.client.ServerReply, org.objectweb.joram.shared.client.SessCreateTDReply, and org.objectweb.joram.shared.client.XACnxRecoverReply.

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

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

final void setCorrelationId (int correlationId)
final int getCorrelationId ()
 AbstractJmsReply ()
 AbstractJmsReply (int correlationId)
final String toString ()
void toString (StringBuffer strbuf)
void writeTo (OutputStream os) throws IOException
void readFrom (InputStream is) throws IOException

Protected Attributes

int correlationId = -1

Detailed Description

An AbstractJmsReply is sent by a proxy to a Joram client as a reply to an AbstractJmsRequest.

Definition at line 36 of file AbstractJmsReply.java.


Constructor & Destructor Documentation

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

Constructs an AbstractJmsReply.

Definition at line 53 of file AbstractJmsReply.java.

org.objectweb.joram.shared.client.AbstractJmsReply.AbstractJmsReply ( int  correlationId  ) 

Constructs an AbstractJmsReply.

Parameters:
correlationId Identifier of the replied request.

Definition at line 60 of file AbstractJmsReply.java.


Member Function Documentation

final void org.objectweb.joram.shared.client.AbstractJmsReply.setCorrelationId ( int  correlationId  ) 

Sets the replied request identifier.

Definition at line 41 of file AbstractJmsReply.java.

final int org.objectweb.joram.shared.client.AbstractJmsReply.getCorrelationId (  ) 

Returns the replied request identifier.

Definition at line 46 of file AbstractJmsReply.java.

References org.objectweb.joram.shared.client.AbstractJmsReply.correlationId.

void org.objectweb.joram.shared.client.AbstractJmsReply.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

Implements org.objectweb.joram.shared.stream.Streamable.

Reimplemented in org.objectweb.joram.shared.client.CnxConnectReply, org.objectweb.joram.shared.client.ConsumerMessages, org.objectweb.joram.shared.client.GetAdminTopicReply, org.objectweb.joram.shared.client.MomExceptionReply, org.objectweb.joram.shared.client.QBrowseReply, org.objectweb.joram.shared.client.SessCreateTDReply, and org.objectweb.joram.shared.client.XACnxRecoverReply.

Definition at line 86 of file AbstractJmsReply.java.

References org.objectweb.joram.shared.client.AbstractJmsReply.correlationId.

void org.objectweb.joram.shared.client.AbstractJmsReply.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

Implements org.objectweb.joram.shared.stream.Streamable.

Reimplemented in org.objectweb.joram.shared.client.CnxConnectReply, org.objectweb.joram.shared.client.ConsumerMessages, org.objectweb.joram.shared.client.GetAdminTopicReply, org.objectweb.joram.shared.client.MomExceptionReply, org.objectweb.joram.shared.client.QBrowseReply, org.objectweb.joram.shared.client.SessCreateTDReply, and org.objectweb.joram.shared.client.XACnxRecoverReply.

Definition at line 96 of file AbstractJmsReply.java.

References org.objectweb.joram.shared.client.AbstractJmsReply.correlationId.


Member Data Documentation

int org.objectweb.joram.shared.client.AbstractJmsReply.correlationId = -1 [protected]

Identifier of the replied request.

Definition at line 38 of file AbstractJmsReply.java.

Referenced by org.objectweb.joram.shared.client.AbstractJmsReply.getCorrelationId(), org.objectweb.joram.shared.client.AbstractJmsReply.readFrom(), org.objectweb.joram.shared.client.AbstractJmsReply.toString(), and org.objectweb.joram.shared.client.AbstractJmsReply.writeTo().


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