| 程序包 | 说明 |
|---|---|
| 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.nio |
NIO-based channel
API implementation - recommended for a large number of connections (>= 1000).
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
ThreadPerChannelEventLoop
SingleThreadEventLoop which is used to handle OIO Channel's. |
| 限定符和类型 | 类和说明 |
|---|---|
class |
NioEventLoop
SingleThreadEventLoop implementation which register the Channel's to a
Selector and so does the multi-plexing of these in the event loop. |