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) |
void |
sendFile(ChannelHandlerContext ctx,
FileRegion region,
ChannelFuture future) |
afterAdd, afterRemove, beforeAdd, beforeRemove, channelActive, channelInactive, channelRegistered, channelUnregistered, exceptionCaught, inboundBufferUpdated, userEventTriggered
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
afterAdd, afterRemove, beforeAdd, beforeRemove, exceptionCaught, userEventTriggered
public void sendFile(ChannelHandlerContext ctx, FileRegion region, ChannelFuture future) throws Exception
sendFile
in interface ChannelOperationHandler
Exception
public void bind(ChannelHandlerContext ctx, SocketAddress localAddress, ChannelFuture future) throws Exception
bind
in interface ChannelOperationHandler
Exception
public void connect(ChannelHandlerContext ctx, SocketAddress remoteAddress, SocketAddress localAddress, ChannelFuture future) throws Exception
connect
in interface ChannelOperationHandler
Exception
public void disconnect(ChannelHandlerContext ctx, ChannelFuture future) throws Exception
disconnect
in interface ChannelOperationHandler
Exception
public void close(ChannelHandlerContext ctx, ChannelFuture future) throws Exception
close
in interface ChannelOperationHandler
Exception
public void deregister(ChannelHandlerContext ctx, ChannelFuture future) throws Exception
deregister
in interface ChannelOperationHandler
Exception
public void flush(ChannelHandlerContext ctx, ChannelFuture future) throws Exception
flush
in interface ChannelOperationHandler
Exception
Copyright © 2008-2012 The Netty Project. All Rights Reserved.