public class ChannelHandlerAdapter extends ChannelStateHandlerAdapter implements ChannelOperationHandler
ChannelHandler.Sharable| Constructor and Description |
|---|
ChannelHandlerAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
bind(ChannelHandlerContext ctx,
SocketAddress localAddress,
ChannelFuture future) |
void |
close(ChannelHandlerContext ctx,
ChannelFuture future) |
void |
connect(ChannelHandlerContext ctx,
SocketAddress remoteAddress,
SocketAddress localAddress,
ChannelFuture future) |
void |
deregister(ChannelHandlerContext ctx,
ChannelFuture future) |
void |
disconnect(ChannelHandlerContext ctx,
ChannelFuture future) |
void |
flush(ChannelHandlerContext ctx,
ChannelFuture future) |
afterAdd, afterRemove, beforeAdd, beforeRemove, channelActive, channelInactive, channelRegistered, channelUnregistered, exceptionCaught, inboundBufferUpdated, userEventTriggeredclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterAdd, afterRemove, beforeAdd, beforeRemove, exceptionCaught, userEventTriggeredpublic void bind(ChannelHandlerContext ctx, SocketAddress localAddress, ChannelFuture future) throws Exception
bind in interface ChannelOperationHandlerExceptionpublic void connect(ChannelHandlerContext ctx, SocketAddress remoteAddress, SocketAddress localAddress, ChannelFuture future) throws Exception
connect in interface ChannelOperationHandlerExceptionpublic void disconnect(ChannelHandlerContext ctx, ChannelFuture future) throws Exception
disconnect in interface ChannelOperationHandlerExceptionpublic void close(ChannelHandlerContext ctx, ChannelFuture future) throws Exception
close in interface ChannelOperationHandlerExceptionpublic void deregister(ChannelHandlerContext ctx, ChannelFuture future) throws Exception
deregister in interface ChannelOperationHandlerExceptionpublic void flush(ChannelHandlerContext ctx, ChannelFuture future) throws Exception
flush in interface ChannelOperationHandlerExceptionCopyright © 2008-2012 The Netty Project. All Rights Reserved.