Package | Description |
---|---|
io.netty.channel |
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
|
io.netty.channel.embedded |
A virtual
Channel that helps wrapping a series of handlers to
unit test the handlers or use them in non-I/O context. |
Modifier and Type | Interface and Description |
---|---|
interface |
ChannelHandlerContext
Enables a
ChannelHandler to interact with its ChannelPipeline
and other handlers. |
interface |
ChannelPipeline
A list of
ChannelHandler s which handles or intercepts inbound events and outbound operations of a
Channel . |
Modifier and Type | Class and Description |
---|---|
(package private) class |
AbstractChannelHandlerContext |
private static class |
CombinedChannelDuplexHandler.DelegatingChannelHandlerContext |
(package private) class |
DefaultChannelHandlerContext |
class |
DefaultChannelPipeline
The default
ChannelPipeline implementation. |
(package private) class |
DefaultChannelPipeline.HeadContext |
(package private) class |
DefaultChannelPipeline.TailContext |
Modifier and Type | Method and Description |
---|---|
ChannelInboundInvoker |
ChannelInboundInvoker.fireChannelActive()
A
Channel is active now, which means it is connected. |
ChannelInboundInvoker |
ChannelInboundInvoker.fireChannelInactive()
A
Channel is inactive now, which means it is closed. |
ChannelInboundInvoker |
ChannelInboundInvoker.fireChannelRead(java.lang.Object msg)
A
Channel received a message. |
ChannelInboundInvoker |
ChannelInboundInvoker.fireChannelReadComplete()
Triggers an
ChannelInboundHandler.channelReadComplete(ChannelHandlerContext)
event to the next ChannelInboundHandler in the ChannelPipeline . |
ChannelInboundInvoker |
ChannelInboundInvoker.fireChannelRegistered()
|
ChannelInboundInvoker |
ChannelInboundInvoker.fireChannelUnregistered()
|
ChannelInboundInvoker |
ChannelInboundInvoker.fireChannelWritabilityChanged()
Triggers an
ChannelInboundHandler.channelWritabilityChanged(ChannelHandlerContext)
event to the next ChannelInboundHandler in the ChannelPipeline . |
ChannelInboundInvoker |
ChannelInboundInvoker.fireExceptionCaught(java.lang.Throwable cause)
A
Channel received an Throwable in one of its inbound operations. |
ChannelInboundInvoker |
ChannelInboundInvoker.fireUserEventTriggered(java.lang.Object event)
A
Channel received an user defined event. |
Modifier and Type | Class and Description |
---|---|
private class |
EmbeddedChannel.EmbeddedChannelPipeline |