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).
|
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 |
AbstractBootstrap.group()
Deprecated.
Use
AbstractBootstrap.config() instead. |
EventLoopGroup |
AbstractBootstrapConfig.group()
Returns 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 . |
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 group)
Specify the
EventLoopGroup which is used for the parent (acceptor) and the child (client). |
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
Deprecated.
this will be remove in the next-major release.
|
class |
ThreadPerChannelEventLoopGroup
Deprecated.
this will be remove in the next-major release.
|
Modifier and Type | Method and Description |
---|---|
EventLoopGroup |
EventLoop.parent() |
EventLoopGroup |
SingleThreadEventLoop.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,
Executor executor,
boolean addTaskWakesUp,
Queue<Runnable> taskQueue,
Queue<Runnable> tailTaskQueue,
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 |
EpollEventLoop
EventLoop which uses epoll under the covers. |
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
Deprecated.
use NIO / EPOLL / KQUEUE transport.
|
Copyright © 2008–2024 The Netty Project. All rights reserved.