| 软件包 | 描述 |
|---|---|
| io.netty.channel |
核心频道API是对各种传输(如
NIO Channel )进行异步和事件驱动的抽象。
|
| io.netty.channel.nio |
基于
NIO的通道API实现 - 推荐用于大量连接(> = 1000)。
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultEventLoop |
class |
ThreadPerChannelEventLoop
SingleThreadEventLoop这是用来处理OIO Channel的。
|
| Modifier and Type | Class and Description |
|---|---|
class |
NioEventLoop
SingleThreadEventLoop实现将Channel的Channel注册到Selector ,事件循环中的这些实现也是多Selector用的。
|
Copyright © 2008–2018 The Netty Project. All rights reserved.