protected java.util.Hashtable parseIndoubtList() throws DisconnectException { boolean found = false; int port = 0; int numXid = 0; String sIpAddr = null; int peekCP = peekCodePoint(); parseLengthAndMatchCodePoint(CodePoint.PRPHRCLST); peekCP = peekCodePoint(); if (peekCP == CodePoint.XIDCNT) { found = true; numXid = parseXIDCNT(); peekCP = peekCodePoint(); } java.util.Hashtable indoubtTransactions = new java.util.Hashtable(); while (peekCP == CodePoint.XID) { Xid xid = parseXID(); indoubtTransactions.put(xid, new NetIndoubtTransaction(xid, null, null, null, sIpAddr, port)); peekCP = peekCodePoint(); } return indoubtTransactions; }
protected java.util.Hashtable parseIndoubtList() throws DisconnectException { boolean found = false; int port = 0; int numXid = 0; String sIpAddr = null; int peekCP = peekCodePoint(); parseLengthAndMatchCodePoint(CodePoint.PRPHRCLST); peekCP = peekCodePoint(); if (peekCP == CodePoint.XIDCNT) { found = true; numXid = parseXIDCNT(); peekCP = peekCodePoint(); } java.util.Hashtable indoubtTransactions = new java.util.Hashtable(); while (peekCP == CodePoint.XID) { Xid xid = parseXID(); indoubtTransactions.put(xid, new NetIndoubtTransaction(xid, null, null, null, sIpAddr, port)); peekCP = peekCodePoint(); } return indoubtTransactions; }
protected int parseSYNCCTLreply(ConnectionCallbackInterface connection) throws DisconnectException { int retval = 0; int peekCP = peekCodePoint(); if (peekCP != CodePoint.SYNCCRD) { parseSYNCCTLError(peekCP); return -1; } retval = parseSYNCCRD(connection); peekCP = peekCodePoint(); while (peekCP == CodePoint.SQLSTT) { String s = parseSQLSTT(); //JCFTMP, need to null out the client list? netAgent_.netConnection_.xares_.addSpecialRegisters(s); peekCP = peekCodePoint(); } if (peekCP == CodePoint.PBSD) { parsePBSD(); } return retval; }
protected int parseSYNCCTLreply(ConnectionCallbackInterface connection) throws DisconnectException { int retval = 0; int peekCP = peekCodePoint(); if (peekCP != CodePoint.SYNCCRD) { parseSYNCCTLError(peekCP); return -1; } retval = parseSYNCCRD(connection); peekCP = peekCodePoint(); while (peekCP == CodePoint.SQLSTT) { String s = parseSQLSTT(); //JCFTMP, need to null out the client list? netAgent_.netConnection_.xares_.addSpecialRegisters(s); peekCP = peekCodePoint(); } if (peekCP == CodePoint.PBSD) { parsePBSD(); } return retval; }
int peekCP = peekCodePoint(); svrcodReceived = checkAndGetReceivedFlag(svrcodReceived); svrcod = parseSVRCOD(CodePoint.SVRCOD_ERROR, CodePoint.SVRCOD_ERROR); peekCP = peekCodePoint(); conn.xares_.callInfoArray_[conn.currXACallInfoOffset_].xaRetVal_ = xaretval; peekCP = peekCodePoint(); foundInPass = true; synctype = parseSYNCTYPE(); peekCP = peekCodePoint(); indoubtTransactions = parseIndoubtList(); conn.setIndoubtTransactions(indoubtTransactions); peekCP = peekCodePoint();
int peekCP = peekCodePoint(); svrcodReceived = checkAndGetReceivedFlag(svrcodReceived); svrcod = parseSVRCOD(CodePoint.SVRCOD_ERROR, CodePoint.SVRCOD_ERROR); peekCP = peekCodePoint(); conn.xares_.callInfoArray_[conn.currXACallInfoOffset_].xaRetVal_ = xaretval; peekCP = peekCodePoint(); foundInPass = true; synctype = parseSYNCTYPE(); peekCP = peekCodePoint(); indoubtTransactions = parseIndoubtList(); conn.setIndoubtTransactions(indoubtTransactions); peekCP = peekCodePoint();