Interface NetconfSessionNegotiatorFactory<S extends org.opendaylight.netconf.api.NetconfSession,L extends org.opendaylight.netconf.api.NetconfSessionListener<? super S>>
-
- Type Parameters:
S- session type
@Deprecated public interface NetconfSessionNegotiatorFactory<S extends org.opendaylight.netconf.api.NetconfSession,L extends org.opendaylight.netconf.api.NetconfSessionListener<? super S>>
Deprecated.A factory class creating SessionNegotiators.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description NetconfSessionNegotiator<S>getSessionNegotiator(org.opendaylight.netconf.api.NetconfSessionListenerFactory<L> factory, io.netty.channel.Channel channel, io.netty.util.concurrent.Promise<S> promise)Deprecated.Create a new negotiator attached to a channel, which will notify a promise once the negotiation completes.
-
-
-
Method Detail
-
getSessionNegotiator
NetconfSessionNegotiator<S> getSessionNegotiator(org.opendaylight.netconf.api.NetconfSessionListenerFactory<L> factory, io.netty.channel.Channel channel, io.netty.util.concurrent.Promise<S> promise)
Deprecated.Create a new negotiator attached to a channel, which will notify a promise once the negotiation completes.- Parameters:
channel- Underlying channelpromise- Promise to be notified- Returns:
- new negotiator instance
-
-