/** * Receive notification of the parameter of a message. Parser will call * this method to report about parameter reading. * * @param name * the name of the paremeter * @param value * the value of the parameter. */ public void param(String name, String value) throws ParseException { if (name.equalsIgnoreCase("C")) { response.setCallIdentifier(new CallIdentifier(value)); } else if (name.equalsIgnoreCase("N")) { NotifiedEntity n = utils.decodeNotifiedEntity(value, true); response.setNotifiedEntity(n); } else if (name.equalsIgnoreCase("L")) { LocalOptionValue[] LocalOptionValueList = utils.decodeLocalOptionValueList(value); response.setLocalConnectionOptions(LocalOptionValueList); } else if (name.equalsIgnoreCase("M")) { ConnectionMode connectionMode = utils.decodeConnectionMode(value); response.setMode(connectionMode); } else if (name.equalsIgnoreCase("P")) { ConnectionParm[] connectionParms = utils.decodeConnectionParms(value); response.setConnectionParms(connectionParms); } else { logger.warn("Unidentified AUCX Response parameter " + name + " with value = " + value); } }
case StringFunctions.HIGH_M_BYTE: ConnectionMode connectionMode = ConnectionModeHandler.decode(data,value.getOffset(),value.getLength()); response.setMode(connectionMode); break; case StringFunctions.LOW_P_BYTE:
case StringFunctions.HIGH_M_BYTE: ConnectionMode connectionMode = ConnectionModeHandler.decode(data,value.getOffset(),value.getLength()); response.setMode(connectionMode); break; case StringFunctions.LOW_P_BYTE: