Interface ChannelInboundInvoker
- All Known Subinterfaces:
ChannelHandlerContext, ChannelPipeline
- All Known Implementing Classes:
DefaultChannelPipeline
public interface ChannelInboundInvoker
-
Method Summary
Modifier and TypeMethodDescriptionAChannelis active now, which means it is connected.AChannelis inactive now, which means it is closed.fireChannelRead(Object msg) AChannelreceived a message.Triggers anChannelInboundHandler.channelReadComplete(ChannelHandlerContext)event to the nextChannelInboundHandlerin theChannelPipeline.Triggers anChannelInboundHandler.channelWritabilityChanged(ChannelHandlerContext)event to the nextChannelInboundHandlerin theChannelPipeline.fireExceptionCaught(Throwable cause) fireUserEventTriggered(Object event) AChannelreceived an user defined event.
-
Method Details
-
fireChannelRegistered
ChannelInboundInvoker fireChannelRegistered()AChannelwas registered to itsEventLoop. This will result in having theChannelInboundHandler.channelRegistered(ChannelHandlerContext)method called of the nextChannelInboundHandlercontained in theChannelPipelineof theChannel. -
fireChannelUnregistered
ChannelInboundInvoker fireChannelUnregistered()AChannelwas unregistered from itsEventLoop. This will result in having theChannelInboundHandler.channelUnregistered(ChannelHandlerContext)method called of the nextChannelInboundHandlercontained in theChannelPipelineof theChannel. -
fireChannelActive
ChannelInboundInvoker fireChannelActive()AChannelis active now, which means it is connected. This will result in having theChannelInboundHandler.channelActive(ChannelHandlerContext)method called of the nextChannelInboundHandlercontained in theChannelPipelineof theChannel. -
fireChannelInactive
ChannelInboundInvoker fireChannelInactive()AChannelis inactive now, which means it is closed. This will result in having theChannelInboundHandler.channelInactive(ChannelHandlerContext)method called of the nextChannelInboundHandlercontained in theChannelPipelineof theChannel. -
fireExceptionCaught
AChannelreceived anThrowablein one of its inbound operations. This will result in having theChannelInboundHandler.exceptionCaught(ChannelHandlerContext, Throwable)method called of the nextChannelInboundHandlercontained in theChannelPipelineof theChannel. -
fireUserEventTriggered
AChannelreceived an user defined event. This will result in having theChannelInboundHandler.userEventTriggered(ChannelHandlerContext, Object)method called of the nextChannelInboundHandlercontained in theChannelPipelineof theChannel. -
fireChannelRead
AChannelreceived a message. This will result in having theChannelInboundHandler.channelRead(ChannelHandlerContext, Object)method called of the nextChannelInboundHandlercontained in theChannelPipelineof theChannel. -
fireChannelReadComplete
ChannelInboundInvoker fireChannelReadComplete()Triggers anChannelInboundHandler.channelReadComplete(ChannelHandlerContext)event to the nextChannelInboundHandlerin theChannelPipeline. -
fireChannelWritabilityChanged
ChannelInboundInvoker fireChannelWritabilityChanged()Triggers anChannelInboundHandler.channelWritabilityChanged(ChannelHandlerContext)event to the nextChannelInboundHandlerin theChannelPipeline.
-