| Package | Description |
|---|---|
| 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).
|
| Modifier and Type | Class and Description |
|---|---|
class |
SingleThreadIoEventLoop
IoEventLoop implementation that execute all its submitted tasks in a single thread using the provided
IoHandler. |
| Modifier and Type | Method and Description |
|---|---|
protected IoEventLoop |
MultiThreadIoEventLoopGroup.newChild(Executor executor,
IoHandler ioHandler,
Object... args)
|
IoEventLoop |
MultiThreadIoEventLoopGroup.next() |
IoEventLoop |
SingleThreadIoEventLoop.next() |
IoEventLoop |
IoEventLoopGroup.next() |
| Modifier and Type | Method and Description |
|---|---|
IoRegistration |
IoHandler.register(IoEventLoop eventLoop,
IoHandle handle)
Register a
IoHandle for IO. |
void |
IoHandler.wakeup(IoEventLoop eventLoop)
Wakeup the
IoHandler, which means if any operation blocks it should be unblocked and
return as soon as possible. |
| Modifier and Type | Method and Description |
|---|---|
IoRegistration |
LocalIoHandler.register(IoEventLoop eventLoop,
IoHandle handle) |
void |
LocalIoHandler.wakeup(IoEventLoop eventLoop) |
| Modifier and Type | Class and Description |
|---|---|
class |
NioEventLoop
Deprecated.
Use
SingleThreadIoEventLoop with NioIoHandler |
| Modifier and Type | Method and Description |
|---|---|
protected IoEventLoop |
NioEventLoopGroup.newChild(Executor executor,
IoHandler ioHandler,
Object... args)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
NioIoRegistration |
NioIoHandler.register(IoEventLoop eventLoop,
IoHandle handle) |
void |
NioIoHandler.wakeup(IoEventLoop eventLoop) |
Copyright © 2008–2025 The Netty Project. All rights reserved.