Package | Description |
---|---|
io.netty.channel |
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultChannelHandlerInvoker |
Modifier and Type | Method and Description |
---|---|
ChannelHandlerInvoker |
EventLoop.asInvoker()
Creates a new default
ChannelHandlerInvoker implementation that uses this EventLoop to
invoke event handler methods. |
ChannelHandlerInvoker |
SingleThreadEventLoop.asInvoker() |
ChannelHandlerInvoker |
Channel.Unsafe.invoker()
Returns the
ChannelHandlerInvoker which is used by default unless specified by a user. |
ChannelHandlerInvoker |
AbstractChannel.AbstractUnsafe.invoker() |
ChannelHandlerInvoker |
ChannelHandlerContext.invoker()
Returns the
ChannelHandlerInvoker which is used to trigger an event for the associated
ChannelHandler . |
Modifier and Type | Method and Description |
---|---|
ChannelPipeline |
ChannelPipeline.addAfter(ChannelHandlerInvoker invoker,
String baseName,
String name,
ChannelHandler handler)
Inserts a
ChannelHandler after an existing handler of this
pipeline. |
ChannelPipeline |
ChannelPipeline.addBefore(ChannelHandlerInvoker invoker,
String baseName,
String name,
ChannelHandler handler)
Inserts a
ChannelHandler before an existing handler of this
pipeline. |
ChannelPipeline |
ChannelPipeline.addFirst(ChannelHandlerInvoker invoker,
ChannelHandler... handlers)
Inserts a
ChannelHandler s at the first position of this pipeline. |
ChannelPipeline |
ChannelPipeline.addFirst(ChannelHandlerInvoker invoker,
String name,
ChannelHandler handler)
Inserts a
ChannelHandler at the first position of this pipeline. |
ChannelPipeline |
ChannelPipeline.addLast(ChannelHandlerInvoker invoker,
ChannelHandler... handlers)
Inserts a
ChannelHandler s at the last position of this pipeline. |
ChannelPipeline |
ChannelPipeline.addLast(ChannelHandlerInvoker invoker,
String name,
ChannelHandler handler)
Appends a
ChannelHandler at the last position of this pipeline. |
Copyright © 2008–2015 The Netty Project. All rights reserved.