@ChannelHandler.Sharable public abstract class ChannelInitializer<C extends Channel> extends ChannelStateHandlerAdapter
ChannelHandler.Sharable| Constructor and Description |
|---|
ChannelInitializer() |
| Modifier and Type | Method and Description |
|---|---|
void |
channelRegistered(ChannelHandlerContext ctx) |
abstract void |
initChannel(C ch) |
afterAdd, afterRemove, beforeAdd, beforeRemove, channelActive, channelInactive, channelUnregistered, exceptionCaught, inboundBufferUpdated, userEventTriggeredpublic final void channelRegistered(ChannelHandlerContext ctx) throws Exception
channelRegistered in interface ChannelStateHandlerchannelRegistered in class ChannelStateHandlerAdapterExceptionCopyright © 2008-2012 The Netty Project. All Rights Reserved.