| 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.local |
A virtual transport that enables the communication between the two
parties in the same virtual machine.
|
| io.netty.channel.socket.aio |
NIO2-based socket channel
API implementation - recommended for a large number of connections (>= 1000).
|
| io.netty.channel.socket.nio |
NIO-based socket channel
API implementation - recommended for a large number of connections (>= 1000).
|
| io.netty.channel.socket.oio |
Old blocking I/O based socket channel API implementation - recommended for
a small number of connections (< 1000).
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
EventExecutor
The
EventExecutor is a special ScheduledExecutorService which comes
with some handy methods to see if a Thread is executed in a event loop. |
interface |
EventLoop |
interface |
EventLoopGroup
Special
EventExecutorGroup which allows to register Channel's that get
processed for later selection during the event loop. |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultEventExecutorGroup |
class |
MultithreadEventExecutorGroup |
class |
MultithreadEventLoopGroup |
class |
SingleThreadEventExecutor
Abstract base class for
EventExecutor's that execute all its submitted tasks in a single thread. |
class |
SingleThreadEventLoop |
| Modifier and Type | Method and Description |
|---|---|
EventExecutorGroup |
SingleThreadEventExecutor.parent() |
EventExecutorGroup |
EventExecutor.parent()
Return the
EventExecutorGroup which is the parent of this EventExecutor,
or null if it has no parent |
| Modifier and Type | Method and Description |
|---|---|
ChannelPipeline |
DefaultChannelPipeline.addAfter(EventExecutorGroup group,
String baseName,
String name,
ChannelHandler handler) |
ChannelPipeline |
ChannelPipeline.addAfter(EventExecutorGroup group,
String baseName,
String name,
ChannelHandler handler)
Inserts a
ChannelHandler after an existing handler of this
pipeline. |
ChannelPipeline |
DefaultChannelPipeline.addBefore(EventExecutorGroup group,
String baseName,
String name,
ChannelHandler handler) |
ChannelPipeline |
ChannelPipeline.addBefore(EventExecutorGroup group,
String baseName,
String name,
ChannelHandler handler)
Inserts a
ChannelHandler before an existing handler of this
pipeline. |
ChannelPipeline |
DefaultChannelPipeline.addFirst(EventExecutorGroup executor,
ChannelHandler... handlers) |
ChannelPipeline |
ChannelPipeline.addFirst(EventExecutorGroup group,
ChannelHandler... handlers) |
ChannelPipeline |
DefaultChannelPipeline.addFirst(EventExecutorGroup group,
String name,
ChannelHandler handler) |
ChannelPipeline |
ChannelPipeline.addFirst(EventExecutorGroup group,
String name,
ChannelHandler handler)
Inserts a
ChannelHandler at the first position of this pipeline. |
ChannelPipeline |
DefaultChannelPipeline.addLast(EventExecutorGroup executor,
ChannelHandler... handlers) |
ChannelPipeline |
ChannelPipeline.addLast(EventExecutorGroup group,
ChannelHandler... handlers) |
ChannelPipeline |
DefaultChannelPipeline.addLast(EventExecutorGroup group,
String name,
ChannelHandler handler) |
ChannelPipeline |
ChannelPipeline.addLast(EventExecutorGroup group,
String name,
ChannelHandler handler)
Appends a
ChannelHandler at the last position of this pipeline. |
| Constructor and Description |
|---|
SingleThreadEventExecutor(EventExecutorGroup parent,
ThreadFactory threadFactory,
ChannelTaskScheduler scheduler) |
| Modifier and Type | Class and Description |
|---|---|
class |
LocalEventLoopGroup |
| Modifier and Type | Class and Description |
|---|---|
class |
AioEventLoopGroup |
| Modifier and Type | Class and Description |
|---|---|
class |
NioEventLoop
SingleThreadEventLoop implementation which register the Channel's to a
Selector and so does the multi-plexing of these in the event loop. |
class |
NioEventLoopGroup |
| Modifier and Type | Class and Description |
|---|---|
class |
OioEventLoopGroup |
Copyright © 2008-2012 The Netty Project. All Rights Reserved.