/** * 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("I")) { response.setConnectionIdentifier(new ConnectionIdentifier(value)); } else if (name.equalsIgnoreCase("I2")) { response.setSecondConnectionIdentifier(new ConnectionIdentifier(value)); } else if (name.equalsIgnoreCase("Z")) { response.setSpecificEndpointIdentifier(utils.decodeEndpointIdentifier(value)); } else if (name.equalsIgnoreCase("Z2")) { response.setSecondEndpointIdentifier(utils.decodeEndpointIdentifier(value)); } }
buffer.append(connectionIdPool.get()); connId = new ConnectionIdentifier(buffer.toString()); response.setSecondConnectionIdentifier(connId); endpointName = secondaryEndpointId.getLocalEndpointName(); if (endpointName.endsWith("$")) {
buffer.append(connectionIdPool.get()); ConnectionIdentifier secondayConnId = new ConnectionIdentifier(buffer.toString()); response.setSecondConnectionIdentifier(secondayConnId); endpointName = secondaryEndpointId.getLocalEndpointName(); if (endpointName.endsWith("$")) {
case StringFunctions.HIGH_I_BYTE: if(data[name.getOffset()+1]==StringFunctions.TWO_BYTE) response.setSecondConnectionIdentifier(new ConnectionIdentifier(new String(data,value.getOffset(),value.getLength()))); break; case StringFunctions.LOW_Z_BYTE:
case StringFunctions.HIGH_I_BYTE: if(data[name.getOffset()+1]==StringFunctions.TWO_BYTE) response.setSecondConnectionIdentifier(new ConnectionIdentifier(new String(data,value.getOffset(),value.getLength()))); break; case StringFunctions.LOW_Z_BYTE: