@Override public JainMgcpResponseEvent getProvisionalResponse() { EndpointConfigurationResponse provisionalresponse = null; if (!sent) provisionalresponse = new EndpointConfigurationResponse(source != null ? source : stack,ReturnCode.Transaction_Being_Executed); return provisionalresponse; } }
@Override public JainMgcpResponseEvent getProvisionalResponse() { EndpointConfigurationResponse provisionalresponse = null; if (!sent) { provisionalresponse = new EndpointConfigurationResponse(source != null ? source : stack, ReturnCode.Transaction_Being_Executed); } return provisionalresponse; }
@Override public JainMgcpResponseEvent getProvisionalResponse() { EndpointConfigurationResponse provisionalresponse = null; if (!sent) provisionalresponse = new EndpointConfigurationResponse(source != null ? source : stack,ReturnCode.Transaction_Being_Executed); return provisionalresponse; } }
/** * Receive notification of the header of a message. Parser will call * this method to report about header reading. * * @param header * the header from the message. */ public void header(String header) throws ParseException { String[] tokens = utils.splitStringBySpace(header); int tid = Integer.parseInt(tokens[1]); response = new EndpointConfigurationResponse(source != null ? source : stack, utils .decodeReturnCode(Integer.parseInt(tokens[0]))); response.setTransactionHandle(tid); }
public JainMgcpResponseEvent decodeResponse(byte[] data,SplitDetails[] msg,Integer txID,ReturnCode returnCode) throws ParseException { response = new EndpointConfigurationResponse(source != null ? source : stack, returnCode); response.setTransactionHandle(txID); try { (new ResponseContentHandle()).parse(data,msg); } catch (Exception e) { logger.error("Parsing of EndpointConfiguration Response failed", e); } return response; }
public JainMgcpResponseEvent decodeResponse(byte[] data,SplitDetails[] msg,Integer txID,ReturnCode returnCode) throws ParseException { response = new EndpointConfigurationResponse(source != null ? source : stack, returnCode); response.setTransactionHandle(txID); try { (new ResponseContentHandle()).parse(data,msg); } catch (Exception e) { logger.error("Parsing of EndpointConfiguration Response failed", e); } return response; }