public class EchoServerInitializer
extends io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
| Modifier and Type | Method and Description |
|---|---|
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
void |
initChannel(io.netty.channel.socket.SocketChannel channel) |
channelRegistered, handlerAdded, handlerRemovedpublic void initChannel(io.netty.channel.socket.SocketChannel channel)
initChannel in class io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>Copyright © 2020. All rights reserved.