org.objectweb.joram.shared.client
Class XACnxPrepare

java.lang.Object
  extended byorg.objectweb.joram.shared.client.AbstractJmsRequest
      extended byorg.objectweb.joram.shared.client.XACnxPrepare
All Implemented Interfaces:
java.io.Serializable

public class XACnxPrepare
extends AbstractJmsRequest

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.joram.shared.client.AbstractJmsRequest
target
 
Constructor Summary
XACnxPrepare()
           
XACnxPrepare(byte[] bq, int fi, byte[] gti, java.util.Vector sendings, java.util.Vector acks)
          Constructs an XACnxPrepare instance.
 
Method Summary
 void addProducerMessages(ProducerMessages pm)
           
 void addSessAckRequest(SessAckRequest sar)
           
 java.util.Vector getAcks()
          Returns the vector of SessAckRequest instances.
 byte[] getBQ()
          Returns the transaction branch qualifier.
 int getFI()
          Returns the transaction identifier format.
 byte[] getGTI()
          Returns the global transaction identifier.
 java.util.Vector getSendings()
          Returns the vector of ProducerMessages instances.
 void setBQ(byte[] bq)
           
 void setFI(int fi)
           
 void setGTI(byte[] gti)
           
 java.util.Hashtable soapCode()
           
static java.lang.Object soapDecode(java.util.Hashtable h)
           
 
Methods inherited from class org.objectweb.joram.shared.client.AbstractJmsRequest
getKey, getRequestId, getTarget, setRequestId, setTarget, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XACnxPrepare

public XACnxPrepare(byte[] bq,
                    int fi,
                    byte[] gti,
                    java.util.Vector sendings,
                    java.util.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.

XACnxPrepare

public XACnxPrepare()
Method Detail

getBQ

public byte[] getBQ()
Returns the transaction branch qualifier.


getFI

public int getFI()
Returns the transaction identifier format.


getGTI

public byte[] getGTI()
Returns the global transaction identifier.


getSendings

public java.util.Vector getSendings()
Returns the vector of ProducerMessages instances.


getAcks

public java.util.Vector getAcks()
Returns the vector of SessAckRequest instances.


setBQ

public void setBQ(byte[] bq)

setFI

public void setFI(int fi)

setGTI

public void setGTI(byte[] gti)

addProducerMessages

public void addProducerMessages(ProducerMessages pm)

addSessAckRequest

public void addSessAckRequest(SessAckRequest sar)

soapCode

public java.util.Hashtable soapCode()
Overrides:
soapCode in class AbstractJmsRequest

soapDecode

public static java.lang.Object soapDecode(java.util.Hashtable h)


Copyright ? 2004 Scalagent - All rights reserved