private void checkPreviousSQLDTARDtriplet(int previousTripletType, int tripletType, int previousTripletId, int tripletId) throws DisconnectException { if (FdocaConstants.SQLDTARD_TRIPLET_TYPES[previousTripletType][tripletType] == false) { descriptorErrorDetected(); // DSCERRCD_02 move error identity into array } if (FdocaConstants.SQLDTARD_TRIPLET_IDS[previousTripletId][tripletId] == false) { descriptorErrorDetected(); // DSCERRCD_02 move error identity into array } }
private void checkPreviousSQLDTARDtriplet(int previousTripletType, int tripletType, int previousTripletId, int tripletId) throws DisconnectException { if (FdocaConstants.SQLDTARD_TRIPLET_TYPES[previousTripletType][tripletType] == false) { descriptorErrorDetected(); // DSCERRCD_02 move error identity into array } if (FdocaConstants.SQLDTARD_TRIPLET_IDS[previousTripletId][tripletId] == false) { descriptorErrorDetected(); // DSCERRCD_02 move error identity into array } }
private void checkFastRLO(int[][] rlo) throws DisconnectException { for (int i = 0; i < rlo.length; i++) { int lid = readFastUnsignedByte(); if (lid != rlo[i][FdocaConstants.RLO_GROUP_LID]) { descriptorErrorDetected(); // DSCERRCD_42 } int elementTaken = readFastUnsignedByte(); if (elementTaken != rlo[i][FdocaConstants.RLO_ELEMENT_TAKEN]) { descriptorErrorDetected(); // DSCERRCD_07 } int repFactor = readFastUnsignedByte(); if (repFactor != rlo[i][FdocaConstants.RLO_REP_FACTOR]) { descriptorErrorDetected(); // DSCERRCD_07 } } }
private void checkFastRLO(int[][] rlo) throws DisconnectException { for (int i = 0; i < rlo.length; i++) { int lid = readFastUnsignedByte(); if (lid != rlo[i][FdocaConstants.RLO_GROUP_LID]) { descriptorErrorDetected(); // DSCERRCD_42 } int elementTaken = readFastUnsignedByte(); if (elementTaken != rlo[i][FdocaConstants.RLO_ELEMENT_TAKEN]) { descriptorErrorDetected(); // DSCERRCD_07 } int repFactor = readFastUnsignedByte(); if (repFactor != rlo[i][FdocaConstants.RLO_REP_FACTOR]) { descriptorErrorDetected(); // DSCERRCD_07 } } }
if ((tripletLength != FdocaConstants.MDD_TRIPLET_SIZE) || (tripletId != FdocaConstants.NULL_LID)) { descriptorErrorDetected(); descriptorErrorDetected(); case FdocaConstants.SQLCADTA_LID: if (tripletLength != FdocaConstants.SQLCADTA_RLO_SIZE) { descriptorErrorDetected(); // DSCERRCD_06 descriptorErrorDetected(); // DSCERRCD_06 break; default: descriptorErrorDetected(); // DSCERRCD_07 break; descriptorErrorDetected(); descriptorErrorDetected(); // DSCERRCD_06 descriptorErrorDetected(); //DSCERRCD_01 break;
if ((tripletLength != FdocaConstants.MDD_TRIPLET_SIZE) || (tripletId != FdocaConstants.NULL_LID)) { descriptorErrorDetected(); descriptorErrorDetected(); case FdocaConstants.SQLCADTA_LID: if (tripletLength != FdocaConstants.SQLCADTA_RLO_SIZE) { descriptorErrorDetected(); // DSCERRCD_06 descriptorErrorDetected(); // DSCERRCD_06 break; default: descriptorErrorDetected(); // DSCERRCD_07 break; descriptorErrorDetected(); descriptorErrorDetected(); // DSCERRCD_06 descriptorErrorDetected(); //DSCERRCD_01 break;