|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.shared.client.AbstractJmsMessage
org.objectweb.joram.shared.client.AbstractJmsRequest
org.objectweb.joram.shared.client.XACnxPrepare
public final class XACnxPrepare
An XACnxPrepare
instance is used by an
XAConnection
for sending messages and acknowledgements to
the proxy.
Field Summary | |
---|---|
private java.util.Vector |
acks
Vector of SessAckRequest instances. |
private byte[] |
bq
Transaction branch qualifier. |
private int |
fi
Transaction identifier format. |
private byte[] |
gti
Global transaction identifier. |
private java.util.Vector |
sendings
Vector of ProducerMessages instances. |
private static long |
serialVersionUID
|
Fields inherited from class org.objectweb.joram.shared.client.AbstractJmsRequest |
---|
requestId, 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. |
protected int |
getClassId()
|
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 |
readFrom(java.io.InputStream is)
The object implements the readFrom method to restore its contents from the input stream. |
void |
setBQ(byte[] bq)
|
void |
setFI(int fi)
|
void |
setGTI(byte[] gti)
|
void |
writeTo(java.io.OutputStream os)
The object implements the writeTo method to write its contents to the output stream. |
Methods inherited from class org.objectweb.joram.shared.client.AbstractJmsRequest |
---|
getRequestId, getTarget, setRequestId, setTarget, toString, toString |
Methods inherited from class org.objectweb.joram.shared.client.AbstractJmsMessage |
---|
read, readExternal, soapCode, soapDecode, write, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private byte[] bq
private int fi
private byte[] gti
private java.util.Vector sendings
ProducerMessages
instances.
private java.util.Vector acks
SessAckRequest
instances.
Constructor Detail |
---|
public XACnxPrepare(byte[] bq, int fi, byte[] gti, java.util.Vector sendings, java.util.Vector acks)
XACnxPrepare
instance.
bq
- Transaction branch qualifier.fi
- Transaction identifier format.gti
- Global transaction identifier.sendings
- Vector of ProducerMessages
instances.acks
- Vector of SessAckRequest
instances.public XACnxPrepare()
Method Detail |
---|
public byte[] getBQ()
public void setBQ(byte[] bq)
public int getFI()
public void setFI(int fi)
public byte[] getGTI()
public void setGTI(byte[] gti)
public java.util.Vector getSendings()
ProducerMessages
instances.
public void addProducerMessages(ProducerMessages pm)
public java.util.Vector getAcks()
SessAckRequest
instances.
public void addSessAckRequest(SessAckRequest sar)
protected int getClassId()
getClassId
in class AbstractJmsMessage
public void writeTo(java.io.OutputStream os) throws java.io.IOException
writeTo
in interface Streamable
writeTo
in class AbstractJmsRequest
os
- the stream to write the object to
java.io.IOException
public void readFrom(java.io.InputStream is) throws java.io.IOException
readFrom
in interface Streamable
readFrom
in class AbstractJmsRequest
is
- the stream to read data from in order to restore the object
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |