@Test public void getOnlyOneTopPayload() throws Exception { assertEquals("deploy-adapter", aggregatorRpcMessage.getOnlyOneTopPayload().getFirstChild().getLocalName()); }
public Document getOnlyOneTopPayload() throws DispatchException { try { return getTopPayloads().get(0); } catch (NoSuchElementException | IndexOutOfBoundsException ex) { LOGGER.error("getOnlyOneTopPayload : {}", ex); throw new DispatchException("Error message has no valid payload."); } }
AggregatorRpcMessage extends NetconfRpcMessage { public Document getOnlyOneTopPayload() throws DispatchException { try { return getTopPayloads().get(0); } catch (NoSuchElementException | IndexOutOfBoundsException ex) { LOGGER.error("getOnlyOneTopPayload : {}", ex); throw new DispatchException("Error message has no valid payload."); } } }
AggregatorRpcMessage extends NetconfRpcMessage { public Document getOnlyOneTopPayload() throws DispatchException { try { return getTopPayloads().get(0); } catch (NoSuchElementException | IndexOutOfBoundsException ex) { LOGGER.error("getOnlyOneTopPayload : {}", ex); throw new DispatchException("Error message has no valid payload."); } } AggregatorRpcMessage(String request); }
AggregatorRpcMessage extends NetconfRpcMessage { public Document getOnlyOneTopPayload() throws DispatchException { try { return getTopPayloads().get(0); } catch (NoSuchElementException | IndexOutOfBoundsException ex) { LOGGER.error("getOnlyOneTopPayload : {}", ex); throw new DispatchException("Error message has no valid payload."); } } AggregatorRpcMessage(String request); NetconfRpcMessage getNetconfRpcMessage(); String getOnlyOneTopXmlns(); Document getOnlyOneTopPayload(); boolean isNetworkManagerMessage(); }
AggregatorRpcMessage extends NetconfRpcMessage { public Document getOnlyOneTopPayload() throws DispatchException { try { return getTopPayloads().get(0); } catch (NoSuchElementException | IndexOutOfBoundsException ex) { LOGGER.error("getOnlyOneTopPayload : {}", ex); throw new DispatchException("Error message has no valid payload."); } } AggregatorRpcMessage(String request); NetconfRpcMessage getNetconfRpcMessage(); String getOnlyOneTopXmlns(); Document getOnlyOneTopPayload(); boolean isNetworkManagerMessage();  }