@Service(value="helloServerInitializer")
public class HelloServerInitializer
extends io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
| 构造器和说明 | 
|---|
HelloServerInitializer()  | 
| 限定符和类型 | 方法和说明 | 
|---|---|
void | 
channelInactive(io.netty.channel.ChannelHandlerContext ctx)  | 
void | 
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
               java.lang.Throwable cause)  | 
void | 
handlerRemoved(io.netty.channel.ChannelHandlerContext ctx)  | 
public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
                            java.lang.Throwable cause)
                     throws java.lang.Exception
exceptionCaught 在接口中 io.netty.channel.ChannelHandlerexceptionCaught 在接口中 io.netty.channel.ChannelInboundHandlerexceptionCaught 在类中 io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>java.lang.Exceptionpublic void channelInactive(io.netty.channel.ChannelHandlerContext ctx)
                     throws java.lang.Exception
channelInactive 在接口中 io.netty.channel.ChannelInboundHandlerchannelInactive 在类中 io.netty.channel.ChannelInboundHandlerAdapterjava.lang.Exceptionpublic void handlerRemoved(io.netty.channel.ChannelHandlerContext ctx)
                    throws java.lang.Exception
handlerRemoved 在接口中 io.netty.channel.ChannelHandlerhandlerRemoved 在类中 io.netty.channel.ChannelHandlerAdapterjava.lang.Exception