| 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.nio |
NIO-based channel
API implementation - recommended for a large number of connections (>= 1000).
|
| io.netty.channel.oio |
Old blocking I/O based channel API implementation - recommended for
a small 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 |
|---|---|
EventLoopGroup |
ServerBootstrap.childGroup()
Return the configured
EventLoopGroup which will be used for the child channels or null
if non is configured yet. |
EventLoopGroup |
AbstractBootstrap.group()
Return the configured
EventLoopGroup or null if non is configured yet. |
| 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-created Channel |
ServerBootstrap |
ServerBootstrap.group(EventLoopGroup parentGroup,
EventLoopGroup childGroup)
Set the
EventExecutorGroup for the parent (acceptor) and the child (client). |
T |
ServerChannelFactory.newChannel(EventLoop eventLoop,
EventLoopGroup childGroup)
Creates a new channel.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
EventLoop
Will handle all the I/O-Operations for a
Channel once it was registered. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractEventLoop
Skeletal implementation of
EventLoop. |
class |
AbstractEventLoopGroup
Skeletal implementation of
EventLoopGroup. |
class |
DefaultEventLoop |
class |
DefaultEventLoopGroup
MultithreadEventLoopGroup which must be used for the local transport. |
class |
MultithreadEventLoopGroup
Abstract base class for
EventExecutorGroup implementations that handles their tasks with multiple threads at
the same time. |
class |
SingleThreadEventLoop
Abstract base class for
EventLoops that execute all its submitted tasks in a single thread. |
class |
ThreadPerChannelEventLoop
SingleThreadEventLoop which is used to handle OIO Channel's. |
class |
ThreadPerChannelEventLoopGroup
|
| Modifier and Type | Method and Description |
|---|---|
EventLoopGroup |
AbstractServerChannel.childEventLoopGroup() |
EventLoopGroup |
ServerChannel.childEventLoopGroup() |
EventLoopGroup |
SingleThreadEventLoop.parent() |
EventLoopGroup |
AbstractEventLoop.parent() |
EventLoopGroup |
EventLoop.parent() |
| Constructor and Description |
|---|
AbstractEventLoop(EventLoopGroup parent) |
AbstractServerChannel(EventLoop eventLoop,
EventLoopGroup childGroup)
Creates a new instance.
|
DefaultEventLoop(EventLoopGroup parent) |
DefaultEventLoop(EventLoopGroup parent,
Executor executor) |
DefaultEventLoop(EventLoopGroup parent,
ThreadFactory threadFactory) |
SingleThreadEventLoop(EventLoopGroup parent,
Executor executor,
boolean addTaskWakesUp) |
SingleThreadEventLoop(EventLoopGroup parent,
ThreadFactory threadFactory,
boolean addTaskWakesUp) |
| Modifier and Type | Class and Description |
|---|---|
class |
LocalEventLoopGroup
Deprecated.
Use
DefaultEventLoopGroup instead. |
| Constructor and Description |
|---|
LocalServerChannel(EventLoop eventLoop,
EventLoopGroup childGroup) |
| 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 | Method and Description |
|---|---|
EventLoopGroup |
AbstractNioMessageServerChannel.childEventLoopGroup() |
| Constructor and Description |
|---|
AbstractNioMessageServerChannel(Channel parent,
EventLoop eventLoop,
EventLoopGroup childGroup,
SelectableChannel ch,
int readInterestOp) |
| Modifier and Type | Class and Description |
|---|---|
class |
OioEventLoopGroup
EventExecutorGroup which is used to handle OIO Channel's. |
| Modifier and Type | Method and Description |
|---|---|
EventLoopGroup |
AbstractOioMessageServerChannel.childEventLoopGroup() |
| Constructor and Description |
|---|
AbstractOioMessageServerChannel(Channel parent,
EventLoop eventLoop,
EventLoopGroup childGroup) |
| Constructor and Description |
|---|
NioServerSocketChannel(EventLoop eventLoop,
EventLoopGroup childGroup)
Create a new instance
|
| Constructor and Description |
|---|
OioServerSocketChannel(EventLoop eventLoop,
EventLoopGroup childGroup)
Create a new instance with an new
Socket |
OioServerSocketChannel(EventLoop eventLoop,
EventLoopGroup childGroup,
ServerSocket socket)
Create a new instance from the given
ServerSocket |
Copyright © 2008–2013 The Netty Project. All rights reserved.