Package com.tenio.network.netty.ws
Class NettyWSInitializer
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
-
- com.tenio.network.netty.ws.NettyWSInitializer
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler
,io.netty.channel.ChannelInboundHandler
public final class NettyWSInitializer extends io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
This class for initializing a channel.- Author:
- kong
-
-
Constructor Summary
Constructors Constructor Description NettyWSInitializer(int index, IEventManager eventManager, GlobalTrafficShapingHandlerCustomize trafficCounter, BaseConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
initChannel(io.netty.channel.socket.SocketChannel channel)
-
Methods inherited from class io.netty.channel.ChannelInitializer
channelRegistered, exceptionCaught, handlerAdded, handlerRemoved
-
-
-
-
Constructor Detail
-
NettyWSInitializer
public NettyWSInitializer(int index, IEventManager eventManager, GlobalTrafficShapingHandlerCustomize trafficCounter, BaseConfiguration configuration)
-
-