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 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 channel
        promise - Promise to be notified
        Returns:
        new negotiator instance