protected class Netty4Transport.ServerChannelInitializer
extends io.netty.channel.ChannelInitializer<io.netty.channel.Channel>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
name |
protected Settings |
settings |
| Modifier | Constructor and Description |
|---|---|
protected |
ServerChannelInitializer(java.lang.String name,
Settings settings) |
| Modifier and Type | Method and Description |
|---|---|
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
java.lang.Throwable cause) |
protected void |
initChannel(io.netty.channel.Channel ch) |
channelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerRemoved, isSharableprotected final java.lang.String name
protected final Settings settings
protected ServerChannelInitializer(java.lang.String name,
Settings settings)
protected void initChannel(io.netty.channel.Channel ch)
throws java.lang.Exception
initChannel in class io.netty.channel.ChannelInitializer<io.netty.channel.Channel>java.lang.Exceptionpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
java.lang.Throwable cause)
throws java.lang.Exception
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInitializer<io.netty.channel.Channel>java.lang.Exception