org.objectweb.joram.shared.client

Class XACnxPrepare

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, Vector sendings, Vector acks)
Constructs an XACnxPrepare instance.

Method Summary

void
addProducerMessages(ProducerMessages pm)
void
addSessAckRequest(SessAckRequest sar)
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.
Vector
getSendings()
Returns the vector of ProducerMessages instances.
void
setBQ(byte[] bq)
void
setFI(int fi)
void
setGTI(byte[] gti)
Hashtable
soapCode()
static Object
soapDecode(Hashtable h)

Methods inherited from class org.objectweb.joram.shared.client.AbstractJmsRequest

getKey, getRequestId, getTarget, setRequestId, setTarget, soapCode, soapDecode, toString

Constructor Details

XACnxPrepare

public XACnxPrepare()


XACnxPrepare

public 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.

Method Details

addProducerMessages

public void addProducerMessages(ProducerMessages pm)


addSessAckRequest

public void addSessAckRequest(SessAckRequest sar)


getAcks

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


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 Vector getSendings()
Returns the vector of ProducerMessages instances.


setBQ

public void setBQ(byte[] bq)


setFI

public void setFI(int fi)


setGTI

public void setGTI(byte[] gti)


soapCode

public Hashtable soapCode()
Overrides:
soapCode in interface AbstractJmsRequest


soapDecode

public static Object soapDecode(Hashtable h)
Overrides:
soapDecode in interface AbstractJmsRequest


Copyright B) 2004 Scalagent - All rights reserved