use of com.swiftmq.jms.XidImpl in project swiftmq-client by iitsoftware.
the class XAResCommitRequest method readContent.
public void readContent(DataInput in) throws IOException {
super.readContent(in);
xid = new XidImpl();
xid.readContent(in);
onePhase = in.readBoolean();
}
use of com.swiftmq.jms.XidImpl in project swiftmq-client by iitsoftware.
the class XAResEndRequest method readContent.
public void readContent(DataInput in) throws IOException {
super.readContent(in);
xid = new XidImpl();
xid.readContent(in);
flags = in.readInt();
byte set = in.readByte();
if (set == 0) {
messages = null;
} else {
int len = in.readInt();
messages = new Object[len];
for (int i = 0; i < len; i++) {
int msglen = in.readInt();
byte[] arr = new byte[msglen];
in.readFully(arr);
messages[i] = arr;
}
}
}
use of com.swiftmq.jms.XidImpl in project swiftmq-client by iitsoftware.
the class XAResPrepareRequest method readContent.
public void readContent(DataInput in) throws IOException {
super.readContent(in);
xid = new XidImpl();
xid.readContent(in);
byte set = in.readByte();
if (set == 0) {
messages = null;
} else {
int len = in.readInt();
messages = new Object[len];
for (int i = 0; i < len; i++) {
int msglen = in.readInt();
byte[] arr = new byte[msglen];
in.readFully(arr);
messages[i] = arr;
}
}
}
use of com.swiftmq.jms.XidImpl in project swiftmq-client by iitsoftware.
the class XAResRollbackRequest method readContent.
public void readContent(DataInput in) throws IOException {
super.readContent(in);
xid = new XidImpl();
xid.readContent(in);
}
use of com.swiftmq.jms.XidImpl in project swiftmq-client by iitsoftware.
the class XAResPrepareRequest method readContent.
public void readContent(DataInput in) throws IOException {
super.readContent(in);
xid = new XidImpl();
xid.readContent(in);
}
Aggregations