Interface NetconfProxyMessageHandler


  • public interface NetconfProxyMessageHandler
    Abstract interface for the implementation of proxy message handler.
    • Method Detail

      • handleIncomingMessage

        <T> T handleIncomingMessage​(NetconfProxyMessage proxyMessage)
                             throws NetconfException
        Will decode the message on case basis and call the actual method in Netconf Session implementation bound to secure transport.
        Type Parameters:
        T - return type
        Parameters:
        proxyMessage - incoming proxy message
        Returns:
        the value returned by session call
        Throws:
        NetconfException - netconf exception
      • handleReplyMessage

        <T> T handleReplyMessage​(NetconfProxyMessage replyMessage)
                          throws NetconfException
        Will decode the message on case basis and call the actual method in Netconf Session implementation bound to secure transport.
        Type Parameters:
        T - return type
        Parameters:
        replyMessage - incoming reply message
        Returns:
        the value returned by session call
        Throws:
        NetconfException - netconf exception
      • handleIncomingSetMessage

        java.util.Set<java.lang.String> handleIncomingSetMessage​(NetconfProxyMessage proxyMessage)
                                                          throws NetconfException
        Will decode the message on case basis and call the actual method in Netconf Session implementation bound to secure transport.
        Parameters:
        proxyMessage - incoming proxy message
        Returns:
        the set value returned by session call
        Throws:
        NetconfException - netconf exception
      • handleReplySetMessage

        java.util.Set<java.lang.String> handleReplySetMessage​(NetconfProxyMessage replyMessage)
                                                       throws NetconfException
        Will decode the message on case basis and call the actual method in Netconf Session implementation bound to secure transport.
        Parameters:
        replyMessage - incoming proxy message
        Returns:
        the set value returned by session call
        Throws:
        NetconfException - netconf exception