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.epoll |
Optimized transport for linux which uses EPOLL Edge-Triggered Mode
for maximal performance.
|
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).
|
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 |
---|---|
Bootstrap |
Bootstrap.clone(EventLoopGroup group)
Returns a deep clone of this bootstrap which has the identical configuration except that it uses
the given
EventLoopGroup . |
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
EventLoopGroup for the parent (acceptor) and the child (client). |
Modifier and Type | Interface and Description |
---|---|
interface |
EventLoop
Will handle all the I/O operations for a
Channel once registered. |
Modifier and Type | Class and Description |
---|---|
class |
MultithreadEventLoopGroup
Abstract base class for
EventLoopGroup implementations that handles their tasks with multiple threads at
the same time. |
class |
SingleThreadEventLoop
Abstract base class for
EventLoop 's 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 |
SingleThreadEventLoop.parent() |
EventLoopGroup |
EventLoop.parent() |
Constructor and Description |
---|
SingleThreadEventLoop(EventLoopGroup parent,
java.util.concurrent.ThreadFactory threadFactory,
boolean addTaskWakesUp) |
SingleThreadEventLoop(EventLoopGroup parent,
java.util.concurrent.ThreadFactory threadFactory,
boolean addTaskWakesUp,
int maxPendingTasks,
RejectedExecutionHandler rejectedExecutionHandler) |
Modifier and Type | Class and Description |
---|---|
class |
EpollEventLoopGroup
EventLoopGroup which uses epoll under the covers. |
Modifier and Type | Class and Description |
---|---|
class |
LocalEventLoopGroup
MultithreadEventLoopGroup which must be used for the local transport. |
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
EventLoopGroup which is used to handle OIO Channel 's. |
Copyright © 2008–2018 The Netty Project. All rights reserved.