@Test public void buildRpcReplyDataResponse() throws Exception { PmaDeviceConfigRpc pmaDeviceConfigRpc = PmaDeviceConfigRpc.getInstance(REQUEST_ALIGN_FORCE); assertTrue(pmaDeviceConfigRpc.buildRpcReplyDataResponse().contains("10101")); }
public String buildRpcReplyDataResponse() throws DispatchException { try { List<Object> payloads = new ArrayList<>(); payloads.add(JaxbUtils.buildPayloadObject(getPmaDeviceConfig())); return NetconfRpcReplyMessage.buildRpcReplyData(NetconfVersionManager.getRpcReplyClass(getRpc()), getRpc().getMessageId(), payloads); } catch (JAXBException ex) { throw new DispatchException(ex); } }
PmaDeviceConfigRpc extends NetconfRpcMessage { public String buildRpcReplyDataResponse() throws DispatchException { try { List<Object> payloads = new ArrayList<>(); payloads.add(JaxbUtils.buildPayloadObject(getPmaDeviceConfig())); return NetconfRpcReplyMessage.buildRpcReplyData(NetconfVersionManager.getRpcReplyClass(getRpc()), getRpc().getMessageId(), payloads); } catch (JAXBException ex) { throw new DispatchException(ex); } } }
PmaDeviceConfigRpc extends NetconfRpcMessage { public String buildRpcReplyDataResponse() throws DispatchException { try { List<Object> payloads = new ArrayList<>(); payloads.add(JaxbUtils.buildPayloadObject(getPmaDeviceConfig())); return NetconfRpcReplyMessage.buildRpcReplyData(NetconfVersionManager.getRpcReplyClass(getRpc()), getRpc().getMessageId(), payloads); } catch (JAXBException ex) { throw new DispatchException(ex); } } private  PmaDeviceConfigRpc(String netconfMessage); }
PmaDeviceConfigRpc extends NetconfRpcMessage { public String buildRpcReplyDataResponse() throws DispatchException { try { List<Object> payloads = new ArrayList<>(); payloads.add(JaxbUtils.buildPayloadObject(getPmaDeviceConfig())); return NetconfRpcReplyMessage.buildRpcReplyData(NetconfVersionManager.getRpcReplyClass(getRpc()), getRpc().getMessageId(), payloads); } catch (JAXBException ex) { throw new DispatchException(ex); } } private  PmaDeviceConfigRpc(String netconfMessage); static PmaDeviceConfigRpc getInstance(String netconfMessage); PmaDeviceConfig getPmaDeviceConfig(); String buildRpcReplyDataResponse(); }
PmaDeviceConfigRpc extends NetconfRpcMessage { public String buildRpcReplyDataResponse() throws DispatchException { try { List<Object> payloads = new ArrayList<>(); payloads.add(JaxbUtils.buildPayloadObject(getPmaDeviceConfig())); return NetconfRpcReplyMessage.buildRpcReplyData(NetconfVersionManager.getRpcReplyClass(getRpc()), getRpc().getMessageId(), payloads); } catch (JAXBException ex) { throw new DispatchException(ex); } } private  PmaDeviceConfigRpc(String netconfMessage); static PmaDeviceConfigRpc getInstance(String netconfMessage); PmaDeviceConfig getPmaDeviceConfig(); String buildRpcReplyDataResponse(); static final String MODULE_NAME; static final String REVISION; static final String NAMESPACE; }