@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.ChannelHandler
exceptionCaught
在接口中 io.netty.channel.ChannelInboundHandler
exceptionCaught
在类中 io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
java.lang.Exception
public void channelInactive(io.netty.channel.ChannelHandlerContext ctx) throws java.lang.Exception
channelInactive
在接口中 io.netty.channel.ChannelInboundHandler
channelInactive
在类中 io.netty.channel.ChannelInboundHandlerAdapter
java.lang.Exception
public void handlerRemoved(io.netty.channel.ChannelHandlerContext ctx) throws java.lang.Exception
handlerRemoved
在接口中 io.netty.channel.ChannelHandler
handlerRemoved
在类中 io.netty.channel.ChannelHandlerAdapter
java.lang.Exception