Example usage for Java io.netty.channel ChannelHandlerContext fields, constructors, methods, implement or subclass
The text is from its open source code.
ByteBufAllocator | alloc() Return the assigned ByteBufAllocator which will be used to allocate ByteBuf s. |
Attribute | attr(AttributeKey |
Channel | channel() Return the Channel which is bound to the ChannelHandlerContext . |
EventExecutor | executor() Returns the EventExecutor which is used to execute an arbitrary task. |
ChannelHandlerContext | fireChannelActive() |
ChannelHandlerContext | fireChannelInactive() |
ChannelHandlerContext | fireChannelRead(Object msg) |
ChannelHandlerContext | fireChannelReadComplete() |
ChannelHandlerContext | fireChannelRegistered() |
ChannelHandlerContext | fireChannelUnregistered() |
ChannelHandlerContext | fireChannelWritabilityChanged() |
ChannelHandlerContext | fireExceptionCaught(Throwable cause) |
ChannelHandlerContext | fireUserEventTriggered(Object evt) |
ChannelHandlerContext | flush() |
ChannelHandler | handler() The ChannelHandler that is bound this ChannelHandlerContext . |
boolean | isRemoved() Return true if the ChannelHandler which belongs to this context was removed from the ChannelPipeline . |
String | name() The unique name of the ChannelHandlerContext .The name was used when then ChannelHandler was added to the ChannelPipeline . |
ChannelPipeline | pipeline() Return the assigned ChannelPipeline |
ChannelHandlerContext | read() |