Class PulsarChannelInitializer

  • All Implemented Interfaces:
    io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler

    public class PulsarChannelInitializer
    extends io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
    • Method Detail

      • initChannel

        protected void initChannel​(io.netty.channel.socket.SocketChannel ch)
                            throws java.lang.Exception
        Specified by:
        initChannel in class io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
        Throws:
        java.lang.Exception
      • newServerCnx

        protected ServerCnx newServerCnx​(PulsarService pulsar,
                                         java.lang.String listenerName)
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception