public protocol RemovableChannelHandler : ChannelHandler
RemovableChannelHandler is a
ChannelHandler that can be dynamically removed from a
Channel is operating normally.
RemovableChannelHandler is required to remove itself from the
ChannelHandlerContext.removeHandler) as soon as possible.
Channelgets torn down, every
ChannelPipelinewill be removed from the
ChannelPipeline. Those removals however happen synchronously and are not going through the methods of this protocol.
Ask the receiving
RemovableChannelHandlerto remove itself from the
ChannelPipelineas soon as possible. The receiving
RemovableChannelHandlermay elect to remove itself sometime after this method call, rather than immediately, but if it does so it must take the necessary precautions to handle events arriving between the invocation of this method and the call to
ChannelHandlerContext.removeHandlerthat triggers the actual removal.
The removal token to hand to
ChannelHandlerContext.removeHandlerto trigger the actual removal from the