-
- All Known Subinterfaces:
ChannelHandlerContext
,ChannelPipeline
- All Known Implementing Classes:
AbstractChannel.DefaultAbstractChannelPipeline
,DefaultChannelPipeline
,DelegatingChannelHandlerContext
public interface ChannelInboundInvoker
-
-
Method Summary
-
-
-
Method Detail
-
fireChannelRegistered
ChannelInboundInvoker fireChannelRegistered()
AChannel
was registered to itsEventLoop
. This will result in having theChannelHandler.channelRegistered(ChannelHandlerContext)
method called of the nextChannelHandler
contained in theChannelPipeline
of theChannel
.
-
fireChannelUnregistered
ChannelInboundInvoker fireChannelUnregistered()
AChannel
was unregistered from itsEventLoop
. This will result in having theChannelHandler.channelUnregistered(ChannelHandlerContext)
method called of the nextChannelHandler
contained in theChannelPipeline
of theChannel
.
-
fireChannelActive
ChannelInboundInvoker fireChannelActive()
AChannel
is active now, which means it is connected. This will result in having theChannelHandler.channelActive(ChannelHandlerContext)
method called of the nextChannelHandler
contained in theChannelPipeline
of theChannel
.
-
fireChannelInactive
ChannelInboundInvoker fireChannelInactive()
AChannel
is inactive now, which means it is closed. This will result in having theChannelHandler.channelInactive(ChannelHandlerContext)
method called of the nextChannelHandler
contained in theChannelPipeline
of theChannel
.
-
fireChannelShutdown
ChannelInboundInvoker fireChannelShutdown(ChannelShutdownDirection direction)
AChannel
was shutdown in a specific direction. This will result in having theChannelHandler.channelShutdown(ChannelHandlerContext, ChannelShutdownDirection)
method called of the nextChannelHandler
contained in theChannelPipeline
of theChannel
.
-
fireChannelExceptionCaught
ChannelInboundInvoker fireChannelExceptionCaught(Throwable cause)
AChannel
received anThrowable
in one of its inbound operations. This will result in having theChannelHandler.channelExceptionCaught(ChannelHandlerContext, Throwable)
method called of the nextChannelHandler
contained in theChannelPipeline
of theChannel
.
-
fireChannelInboundEvent
ChannelInboundInvoker fireChannelInboundEvent(Object event)
AChannel
received a custom defined inbound event. This will result in having theChannelHandler.channelInboundEvent(ChannelHandlerContext, Object)
method called of the nextChannelHandler
contained in theChannelPipeline
of theChannel
.
-
fireChannelRead
ChannelInboundInvoker fireChannelRead(Object msg)
AChannel
received a message. This will result in having theChannelHandler.channelRead(ChannelHandlerContext, Object)
method called of the nextChannelHandler
contained in theChannelPipeline
of theChannel
.
-
fireChannelReadComplete
ChannelInboundInvoker fireChannelReadComplete()
Triggers anChannelHandler.channelReadComplete(ChannelHandlerContext)
event to the nextChannelHandler
in theChannelPipeline
.
-
fireChannelWritabilityChanged
ChannelInboundInvoker fireChannelWritabilityChanged()
Triggers anChannelHandler.channelWritabilityChanged(ChannelHandlerContext)
event to the nextChannelHandler
in theChannelPipeline
.
-
-