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

Inherits org.objectweb.joram.shared.client.AbstractJmsRequest.

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

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

byte[] getBQ ()
void setBQ (byte[] bq)
int getFI ()
void setFI (int fi)
byte[] getGTI ()
void setGTI (byte[] gti)
Vector getSendings ()
void addProducerMessages (ProducerMessages pm)
Vector getAcks ()
void addSessAckRequest (SessAckRequest sar)
 XACnxPrepare (byte[] bq, int fi, byte[] gti, Vector sendings, Vector acks)
 XACnxPrepare ()
void writeTo (OutputStream os) throws IOException
void readFrom (InputStream is) throws IOException

Protected Member Functions

int getClassId ()

Detailed Description

An XACnxPrepare instance is used by an XAConnection for sending messages and acknowledgements to the proxy.

Definition at line 38 of file XACnxPrepare.java.


Constructor & Destructor Documentation

org.objectweb.joram.shared.client.XACnxPrepare.XACnxPrepare ( byte[]  bq,
int  fi,
byte[]  gti,
Vector  sendings,
Vector  acks 
)

Constructs an XACnxPrepare instance.

Parameters:
bq Transaction branch qualifier.
fi Transaction identifier format.
gti Global transaction identifier.
sendings Vector of ProducerMessages instances.
acks Vector of SessAckRequest instances.

Definition at line 120 of file XACnxPrepare.java.


Member Function Documentation

byte [] org.objectweb.joram.shared.client.XACnxPrepare.getBQ (  ) 

Returns the transaction branch qualifier.

Definition at line 47 of file XACnxPrepare.java.

int org.objectweb.joram.shared.client.XACnxPrepare.getFI (  ) 

Returns the transaction identifier format.

Definition at line 59 of file XACnxPrepare.java.

byte [] org.objectweb.joram.shared.client.XACnxPrepare.getGTI (  ) 

Returns the global transaction identifier.

Definition at line 71 of file XACnxPrepare.java.

Vector org.objectweb.joram.shared.client.XACnxPrepare.getSendings (  ) 

Returns the vector of ProducerMessages instances.

Definition at line 83 of file XACnxPrepare.java.

Referenced by org.objectweb.joram.mom.proxies.ProxyImpl.initialize().

Vector org.objectweb.joram.shared.client.XACnxPrepare.getAcks (  ) 

Returns the vector of SessAckRequest instances.

Definition at line 97 of file XACnxPrepare.java.

Referenced by org.objectweb.joram.mom.proxies.ProxyImpl.initialize().

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

Definition at line 149 of file XACnxPrepare.java.

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

Definition at line 180 of file XACnxPrepare.java.


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