Package org.apache.pulsar.proxy.server
Class ServiceChannelInitializer
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
-
- org.apache.pulsar.proxy.server.ServiceChannelInitializer
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler
public class ServiceChannelInitializer extends io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>Initialize service channel handlers.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringTLS_HANDLER
-
Constructor Summary
Constructors Constructor Description ServiceChannelInitializer(ProxyService proxyService, ProxyConfiguration serviceConfig, boolean enableTls)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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
-
ServiceChannelInitializer
public ServiceChannelInitializer(ProxyService proxyService, ProxyConfiguration serviceConfig, boolean enableTls) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-