| Package | Description |
|---|---|
| io.netty.bootstrap |
The helper classes with fluent API which enable an easy implementation of
typical client side and server side channel initialization.
|
| 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 | Method and Description |
|---|---|
protected EventLoopGroup |
AbstractBootstrap.group() |
| Modifier and Type | Method and Description |
|---|---|
ServerBootstrap |
ServerBootstrap.group(EventLoopGroup group)
Specify the
EventLoopGroup which is used for the parent (acceptor) and the child (client). |
B |
AbstractBootstrap.group(EventLoopGroup group)
The
EventLoopGroup which is used to handle all the events for the to-be-creates
Channel |
ServerBootstrap |
ServerBootstrap.group(EventLoopGroup parentGroup,
EventLoopGroup childGroup)
Set the
EventLoopGroup for the parent (acceptor) and the child (client). |
| Modifier and Type | Interface and Description |
|---|---|
interface |
EventLoop |
| Modifier and Type | Class and Description |
|---|---|
class |
MultithreadEventLoopGroup |
class |
SingleThreadEventLoop |
| Modifier and Type | Method and Description |
|---|---|
EventLoopGroup |
SingleThreadEventLoop.parent() |
EventLoopGroup |
EventLoop.parent() |
| Constructor and Description |
|---|
SingleThreadEventLoop(EventLoopGroup 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.