Package io.netty.channel
Interface ChannelInboundInvoker
-
- All Known Subinterfaces:
ChannelHandlerContext,ChannelPipeline
- All Known Implementing Classes:
DefaultChannelPipeline
public interface ChannelInboundInvoker
-
-
Method Summary
-
-
-
Method Detail
-
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
ChannelInboundInvoker fireExceptionCaught(java.lang.Throwable cause)
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
ChannelInboundInvoker fireUserEventTriggered(java.lang.Object event)
AChannelreceived an user defined event. This will result in having theChannelInboundHandler.userEventTriggered(ChannelHandlerContext, Object)method called of the nextChannelInboundHandlercontained in theChannelPipelineof theChannel.
-
fireChannelRead
ChannelInboundInvoker fireChannelRead(java.lang.Object msg)
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.
-
-