use of com.swiftmq.jms.XidImpl in project swiftmq-client by iitsoftware.
the class XAResRecoverReply method writeContent.
public void writeContent(DataOutput out) throws IOException {
super.writeContent(out);
if (xids != null) {
out.writeBoolean(true);
out.writeInt(xids.size());
for (int i = 0; i < xids.size(); i++) {
XidImpl b = (XidImpl) xids.get(i);
b.writeContent(out);
}
} else
out.writeBoolean(false);
out.writeInt(errorCode);
}
use of com.swiftmq.jms.XidImpl in project swiftmq-client by iitsoftware.
the class XAResRecoverReply method readContent.
public void readContent(DataInput in) throws IOException {
super.readContent(in);
boolean b = in.readBoolean();
if (b) {
int size = in.readInt();
xids = new ArrayList();
for (int i = 0; i < size; i++) {
XidImpl xid = new XidImpl();
xid.readContent(in);
xids.add(xid);
}
} else
xids = null;
errorCode = in.readInt();
}
use of com.swiftmq.jms.XidImpl in project swiftmq-client by iitsoftware.
the class XAResStartRequest method readContent.
public void readContent(DataInput in) throws IOException {
super.readContent(in);
xid = new XidImpl();
xid.readContent(in);
flags = in.readInt();
}
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();
}
use of com.swiftmq.jms.XidImpl in project swiftmq-client by iitsoftware.
the class XAResRecoverReply method readContent.
public void readContent(DataInput in) throws IOException {
super.readContent(in);
boolean b = in.readBoolean();
if (b) {
int size = in.readInt();
xids = new ArrayList();
for (int i = 0; i < size; i++) {
XidImpl xid = new XidImpl();
xid.readContent(in);
xids.add(xid);
}
} else
xids = null;
errorCode = in.readInt();
}
Aggregations