final class DefaultChannelHandlerContext extends AbstractChannelHandlerContext
AbstractChannelHandlerContext.AbstractWriteTask, AbstractChannelHandlerContext.WriteAndFlushTask, AbstractChannelHandlerContext.WriteTask
Modifier and Type | Field and Description |
---|---|
private ChannelHandler |
handler |
executor, next, prev
Constructor and Description |
---|
DefaultChannelHandlerContext(DefaultChannelPipeline pipeline,
EventExecutor executor,
java.lang.String name,
ChannelHandler handler) |
Modifier and Type | Method and Description |
---|---|
ChannelHandler |
handler()
The
ChannelHandler that is bound this ChannelHandlerContext . |
private static boolean |
isInbound(ChannelHandler handler) |
private static boolean |
isOutbound(ChannelHandler handler) |
alloc, bind, bind, channel, close, close, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, executor, fireChannelActive, fireChannelInactive, fireChannelRead, fireChannelReadComplete, fireChannelRegistered, fireChannelUnregistered, fireChannelWritabilityChanged, fireExceptionCaught, fireUserEventTriggered, flush, invokeChannelActive, invokeChannelInactive, invokeChannelRead, invokeChannelReadComplete, invokeChannelRegistered, invokeChannelUnregistered, invokeChannelWritabilityChanged, invokeExceptionCaught, invokeUserEventTriggered, isRemoved, name, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, pipeline, read, setAddComplete, setAddPending, setRemoved, voidPromise, write, write, writeAndFlush, writeAndFlush
attr
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
attr
private final ChannelHandler handler
DefaultChannelHandlerContext(DefaultChannelPipeline pipeline, EventExecutor executor, java.lang.String name, ChannelHandler handler)
public ChannelHandler handler()
ChannelHandlerContext
ChannelHandler
that is bound this ChannelHandlerContext
.private static boolean isInbound(ChannelHandler handler)
private static boolean isOutbound(ChannelHandler handler)