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.kqueue |
BSD specific transport.
|
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.handler.codec.http2 |
Handlers for sending and receiving HTTP/2 frames.
|
Modifier and Type | Method and Description |
---|---|
EventLoopGroup |
ServerBootstrapConfig.childGroup()
Returns the configured
EventLoopGroup which will be used for the child channels or null
if non is configured yet. |
EventLoopGroup |
ServerBootstrap.childGroup()
Deprecated.
Use
ServerBootstrap.config() instead. |
EventLoopGroup |
AbstractBootstrapConfig.group()
Returns the configured
EventLoopGroup or null if non is configured yet. |
EventLoopGroup |
AbstractBootstrap.group()
Deprecated.
Use
AbstractBootstrap.config() instead. |
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 |
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
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() |
EventLoopGroup |
AbstractEventLoop.parent() |
Constructor and Description |
---|
AbstractEventLoop(EventLoopGroup parent) |
DefaultEventLoop(EventLoopGroup parent) |
DefaultEventLoop(EventLoopGroup parent,
Executor executor) |
DefaultEventLoop(EventLoopGroup parent,
ThreadFactory threadFactory) |
SingleThreadEventLoop(EventLoopGroup parent,
Executor executor,
boolean addTaskWakesUp) |
SingleThreadEventLoop(EventLoopGroup parent,
Executor executor,
boolean addTaskWakesUp,
int maxPendingTasks,
RejectedExecutionHandler rejectedExecutionHandler) |
SingleThreadEventLoop(EventLoopGroup parent,
ThreadFactory threadFactory,
boolean addTaskWakesUp) |
SingleThreadEventLoop(EventLoopGroup parent,
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 |
KQueueEventLoopGroup |
Modifier and Type | Class and Description |
---|---|
class |
LocalEventLoopGroup
Deprecated.
Use
DefaultEventLoopGroup instead. |
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. |
Modifier and Type | Method and Description |
---|---|
EventLoopGroup |
Http2StreamChannelBootstrap.group() |
Modifier and Type | Method and Description |
---|---|
Http2StreamChannelBootstrap |
Http2StreamChannelBootstrap.group(EventLoopGroup group)
Sets the
EventLoop to which channels created with this bootstrap are registered. |
Copyright © 2008–2017 The Netty Project. All rights reserved.