|
|||||||||
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.AbstractJmsReply
org.objectweb.joram.shared.client.XACnxRecoverReply
public final class XACnxRecoverReply
A XACnxRecoverReply
replies to a
XACnxRecoverRequest
and carries transaction identifiers.
Field Summary | |
---|---|
private java.util.Vector |
bqs
Branch qualifiers. |
private java.util.Vector |
fis
Format identifiers. |
private java.util.Vector |
gtis
Global transaction identifiers. |
private static long |
serialVersionUID
define serialVersionUID for interoperability |
Fields inherited from class org.objectweb.joram.shared.client.AbstractJmsReply |
---|
correlationId |
Constructor Summary | |
---|---|
XACnxRecoverReply()
Constructs a XACnxRecoverReply instance. |
|
XACnxRecoverReply(XACnxRecoverRequest req,
java.util.Vector bqs,
java.util.Vector fis,
java.util.Vector gtis)
Constructs a XACnxRecoverReply instance. |
Method Summary | |
---|---|
byte[] |
getBranchQualifier(int index)
Returns a branch qualifier. |
protected int |
getClassId()
|
int |
getFormatId(int index)
Returns a format identifier. |
byte[] |
getGlobalTransactionId(int index)
Returns a global transaction identifier. |
int |
getSize()
Returns the number of transaction identifiers. |
void |
readFrom(java.io.InputStream is)
The object implements the readFrom method to restore its contents from the input stream. |
private static java.util.Vector |
readVectorOfByteArrayFrom(java.io.InputStream is)
|
void |
setBQS(java.util.Vector bqs)
|
void |
setFIS(java.util.Vector fis)
|
void |
setGTIS(java.util.Vector gtis)
|
void |
writeTo(java.io.OutputStream os)
The object implements the writeTo method to write its contents to the output stream. |
private static void |
writeVectorOfByteArrayTo(java.util.Vector v,
java.io.OutputStream os)
|
Methods inherited from class org.objectweb.joram.shared.client.AbstractJmsReply |
---|
getCorrelationId, setCorrelationId, 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 java.util.Vector bqs
private java.util.Vector fis
private java.util.Vector gtis
Constructor Detail |
---|
public XACnxRecoverReply(XACnxRecoverRequest req, java.util.Vector bqs, java.util.Vector fis, java.util.Vector gtis)
XACnxRecoverReply
instance.
req
- The replied request.bqs
- Branch qualifiers.fis
- Format identifiers.gtis
- Global transaction identifiers.public XACnxRecoverReply()
XACnxRecoverReply
instance.
Method Detail |
---|
public void setBQS(java.util.Vector bqs)
public void setFIS(java.util.Vector fis)
public void setGTIS(java.util.Vector gtis)
protected int getClassId()
getClassId
in class AbstractJmsMessage
public int getSize()
public byte[] getBranchQualifier(int index)
public int getFormatId(int index)
public byte[] getGlobalTransactionId(int index)
private static void writeVectorOfByteArrayTo(java.util.Vector v, java.io.OutputStream os) throws java.io.IOException
java.io.IOException
private static java.util.Vector readVectorOfByteArrayFrom(java.io.InputStream is) throws java.io.IOException
java.io.IOException
public void writeTo(java.io.OutputStream os) throws java.io.IOException
writeTo
in interface Streamable
writeTo
in class AbstractJmsReply
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 AbstractJmsReply
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 |