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()
AChannel
was registered to itsEventLoop
. This will result in having theChannelInboundHandler.channelRegistered(ChannelHandlerContext)
method called of the nextChannelInboundHandler
contained in theChannelPipeline
of theChannel
.
-
fireChannelUnregistered
ChannelInboundInvoker fireChannelUnregistered()
AChannel
was unregistered from itsEventLoop
. This will result in having theChannelInboundHandler.channelUnregistered(ChannelHandlerContext)
method called of the nextChannelInboundHandler
contained in theChannelPipeline
of theChannel
.
-
fireChannelActive
ChannelInboundInvoker fireChannelActive()
AChannel
is active now, which means it is connected. This will result in having theChannelInboundHandler.channelActive(ChannelHandlerContext)
method called of the nextChannelInboundHandler
contained in theChannelPipeline
of theChannel
.
-
fireChannelInactive
ChannelInboundInvoker fireChannelInactive()
AChannel
is inactive now, which means it is closed. This will result in having theChannelInboundHandler.channelInactive(ChannelHandlerContext)
method called of the nextChannelInboundHandler
contained in theChannelPipeline
of theChannel
.
-
fireExceptionCaught
ChannelInboundInvoker fireExceptionCaught(java.lang.Throwable cause)
AChannel
received anThrowable
in one of its inbound operations. This will result in having theChannelInboundHandler.exceptionCaught(ChannelHandlerContext, Throwable)
method called of the nextChannelInboundHandler
contained in theChannelPipeline
of theChannel
.
-
fireUserEventTriggered
ChannelInboundInvoker fireUserEventTriggered(java.lang.Object event)
AChannel
received an user defined event. This will result in having theChannelInboundHandler.userEventTriggered(ChannelHandlerContext, Object)
method called of the nextChannelInboundHandler
contained in theChannelPipeline
of theChannel
.
-
fireChannelRead
ChannelInboundInvoker fireChannelRead(java.lang.Object msg)
AChannel
received a message. This will result in having theChannelInboundHandler.channelRead(ChannelHandlerContext, Object)
method called of the nextChannelInboundHandler
contained in theChannelPipeline
of theChannel
.
-
fireChannelReadComplete
ChannelInboundInvoker fireChannelReadComplete()
Triggers anChannelInboundHandler.channelReadComplete(ChannelHandlerContext)
event to the nextChannelInboundHandler
in theChannelPipeline
.
-
fireChannelWritabilityChanged
ChannelInboundInvoker fireChannelWritabilityChanged()
Triggers anChannelInboundHandler.channelWritabilityChanged(ChannelHandlerContext)
event to the nextChannelInboundHandler
in theChannelPipeline
.
-
-