Package org.onosproject.netconf
Interface NetconfProxyMessageHandler
-
public interface NetconfProxyMessageHandlerAbstract interface for the implementation of proxy message handler.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> ThandleIncomingMessage(NetconfProxyMessage proxyMessage)Will decode the message on case basis and call the actual method in Netconf Session implementation bound to secure transport.java.util.Set<java.lang.String>handleIncomingSetMessage(NetconfProxyMessage proxyMessage)Will decode the message on case basis and call the actual method in Netconf Session implementation bound to secure transport.<T> ThandleReplyMessage(NetconfProxyMessage replyMessage)Will decode the message on case basis and call the actual method in Netconf Session implementation bound to secure transport.java.util.Set<java.lang.String>handleReplySetMessage(NetconfProxyMessage replyMessage)Will decode the message on case basis and call the actual method in Netconf Session implementation bound to secure transport.
-
-
-
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
-
-