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, handlerRemoved
public 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.ChannelHandler
exceptionCaught
in interface io.netty.channel.ChannelInboundHandler
exceptionCaught
in class io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
Copyright © 2020. All rights reserved.