public String toString() { String s = "{DRDAXid: " + "formatId(" + format_id + "), " + "globalTransactionId(" + convertToHexString(global_id) + ")" + "branchQualifier(" + convertToHexString(branch_id) + ")"; return s; }
/** Parse XID * formatId -1 translates into a null XID and a local transaction */ private Xid parseXID () throws DRDAProtocolException { int formatId = reader.readNetworkInt(); byte[] gtrid = null; byte[] bqual = null; if (formatId != -1) { int gtridLen = reader.readNetworkInt(); int bqualLen = reader.readNetworkInt(); gtrid = reader.readBytes(gtridLen); bqual = reader.readBytes(bqualLen); } return new DRDAXid(formatId, gtrid, bqual); }
/** Parse XID * formatId -1 translates into a null XID and a local transaction */ private Xid parseXID () throws DRDAProtocolException { int formatId = reader.readNetworkInt(); byte[] gtrid = null; byte[] bqual = null; if (formatId != -1) { int gtridLen = reader.readNetworkInt(); int bqualLen = reader.readNetworkInt(); gtrid = reader.readBytes(gtridLen); bqual = reader.readBytes(bqualLen); } return new DRDAXid(formatId, gtrid, bqual); }
public String toString() { String s = "{DRDAXid: " + "formatId(" + format_id + "), " + "globalTransactionId(" + convertToHexString(global_id) + ")" + "branchQualifier(" + convertToHexString(branch_id) + ")"; return s; }
/** Parse XID * formatId -1 translates into a null XID and a local transaction */ private Xid parseXID () throws DRDAProtocolException { int formatId = reader.readNetworkInt(); byte[] gtrid = null; byte[] bqual = null; if (formatId != -1) { int gtridLen = reader.readNetworkInt(); int bqualLen = reader.readNetworkInt(); gtrid = reader.readBytes(gtridLen); bqual = reader.readBytes(bqualLen); } return new DRDAXid(formatId, gtrid, bqual); }
public String toString() { String s = "{DRDAXid: " + "formatId(" + format_id + "), " + "globalTransactionId(" + convertToHexString(global_id) + ")" + "branchQualifier(" + convertToHexString(branch_id) + ")"; return s; }