Package org.apache.pulsar.client.impl
Class PulsarChannelInitializer
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
-
- org.apache.pulsar.client.impl.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>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringTLS_HANDLER
-
Constructor Summary
Constructors Constructor Description PulsarChannelInitializer(ClientConfigurationData conf, java.util.function.Supplier<ClientCnx> clientCnxSupplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinitChannel(io.netty.channel.socket.SocketChannel ch)-
Methods inherited from class io.netty.channel.ChannelInitializer
channelRegistered, exceptionCaught, handlerAdded, handlerRemoved
-
-
-
-
Field Detail
-
TLS_HANDLER
public static final java.lang.String TLS_HANDLER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PulsarChannelInitializer
public PulsarChannelInitializer(ClientConfigurationData conf, java.util.function.Supplier<ClientCnx> clientCnxSupplier) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-