public interface ChannelInboundInvoker
Modifier and Type | Method and Description |
---|---|
ChannelInboundInvoker |
fireChannelActive()
A
Channel is active now, which means it is connected. |
ChannelInboundInvoker |
fireChannelInactive()
A
Channel is inactive now, which means it is closed. |
ChannelInboundInvoker |
fireChannelRead(Object msg)
A
Channel received a message. |
ChannelInboundInvoker |
fireChannelReadComplete()
Triggers an
ChannelInboundHandler.channelReadComplete(ChannelHandlerContext)
event to the next ChannelInboundHandler in the ChannelPipeline . |
ChannelInboundInvoker |
fireChannelRegistered()
|
ChannelInboundInvoker |
fireChannelUnregistered()
|
ChannelInboundInvoker |
fireChannelWritabilityChanged()
Triggers an
ChannelInboundHandler.channelWritabilityChanged(ChannelHandlerContext)
event to the next ChannelInboundHandler in the ChannelPipeline . |
ChannelInboundInvoker |
fireExceptionCaught(Throwable cause)
|
ChannelInboundInvoker |
fireUserEventTriggered(Object event)
A
Channel received an user defined event. |
ChannelInboundInvoker fireChannelRegistered()
Channel
was registered to its EventLoop
.
This will result in having the ChannelInboundHandler.channelRegistered(ChannelHandlerContext)
method
called of the next ChannelInboundHandler
contained in the ChannelPipeline
of the
Channel
.ChannelInboundInvoker fireChannelUnregistered()
Channel
was unregistered from its EventLoop
.
This will result in having the ChannelInboundHandler.channelUnregistered(ChannelHandlerContext)
method
called of the next ChannelInboundHandler
contained in the ChannelPipeline
of the
Channel
.ChannelInboundInvoker fireChannelActive()
Channel
is active now, which means it is connected.
This will result in having the ChannelInboundHandler.channelActive(ChannelHandlerContext)
method
called of the next ChannelInboundHandler
contained in the ChannelPipeline
of the
Channel
.ChannelInboundInvoker fireChannelInactive()
Channel
is inactive now, which means it is closed.
This will result in having the ChannelInboundHandler.channelInactive(ChannelHandlerContext)
method
called of the next ChannelInboundHandler
contained in the ChannelPipeline
of the
Channel
.ChannelInboundInvoker fireExceptionCaught(Throwable cause)
Channel
received an Throwable
in one of its inbound operations.
This will result in having the ChannelInboundHandler.exceptionCaught(ChannelHandlerContext, Throwable)
method called of the next ChannelInboundHandler
contained in the ChannelPipeline
of the
Channel
.ChannelInboundInvoker fireUserEventTriggered(Object event)
Channel
received an user defined event.
This will result in having the ChannelInboundHandler.userEventTriggered(ChannelHandlerContext, Object)
method called of the next ChannelInboundHandler
contained in the ChannelPipeline
of the
Channel
.ChannelInboundInvoker fireChannelRead(Object msg)
Channel
received a message.
This will result in having the ChannelInboundHandler.channelRead(ChannelHandlerContext, Object)
method called of the next ChannelInboundHandler
contained in the ChannelPipeline
of the
Channel
.ChannelInboundInvoker fireChannelReadComplete()
ChannelInboundHandler.channelReadComplete(ChannelHandlerContext)
event to the next ChannelInboundHandler
in the ChannelPipeline
.ChannelInboundInvoker fireChannelWritabilityChanged()
ChannelInboundHandler.channelWritabilityChanged(ChannelHandlerContext)
event to the next ChannelInboundHandler
in the ChannelPipeline
.Copyright © 2008–2016 The Netty Project. All rights reserved.