Interface AbstractNetconfDispatcher.ChannelPipelineInitializer<C extends io.netty.channel.Channel,​S extends org.opendaylight.netconf.api.NetconfSession>

  • All Known Subinterfaces:
    AbstractNetconfDispatcher.PipelineInitializer<S>
    Enclosing class:
    AbstractNetconfDispatcher<S extends org.opendaylight.netconf.api.NetconfSession,​L extends org.opendaylight.netconf.api.NetconfSessionListener<? super S>>

    protected static interface AbstractNetconfDispatcher.ChannelPipelineInitializer<C extends io.netty.channel.Channel,​S extends org.opendaylight.netconf.api.NetconfSession>
    • Method Detail

      • initializeChannel

        void initializeChannel​(C channel,
                               io.netty.util.concurrent.Promise<S> promise)
        Initializes channel by specifying the handlers in its pipeline. Handlers are protocol specific, therefore this method needs to be implemented in protocol specific Dispatchers.
        Parameters:
        channel - whose pipeline should be defined, also to be passed to NetconfSessionNegotiatorFactory
        promise - to be passed to NetconfSessionNegotiatorFactory