| 程序包 | 说明 | 
|---|---|
| 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.socket | 
 Abstract TCP and UDP socket interfaces which extend the core channel API. 
 | 
| io.netty.channel.socket.oio | 
 Old blocking I/O based socket channel API implementation - recommended for
 a small number of connections (< 1000). 
 | 
| 限定符和类型 | 类和说明 | 
|---|---|
class  | 
EpollDomainSocketChannelConfig  | 
class  | 
EpollSocketChannelConfig  | 
| 限定符和类型 | 类和说明 | 
|---|---|
class  | 
KQueueDomainSocketChannelConfig  | 
class  | 
KQueueSocketChannelConfig  | 
| 限定符和类型 | 接口和说明 | 
|---|---|
interface  | 
SocketChannelConfig
A  
ChannelConfig for a SocketChannel. | 
| 限定符和类型 | 类和说明 | 
|---|---|
class  | 
DefaultSocketChannelConfig
The default  
SocketChannelConfig implementation. | 
| 限定符和类型 | 方法和说明 | 
|---|---|
DuplexChannelConfig | 
DuplexChannelConfig.setAllocator(ByteBufAllocator allocator)  | 
DuplexChannelConfig | 
DuplexChannelConfig.setAllowHalfClosure(boolean allowHalfClosure)
Sets whether the channel should not close itself when its remote peer shuts down output to
 make the connection half-closed. 
 | 
DuplexChannelConfig | 
DuplexChannelConfig.setAutoClose(boolean autoClose)  | 
DuplexChannelConfig | 
DuplexChannelConfig.setAutoRead(boolean autoRead)  | 
DuplexChannelConfig | 
DuplexChannelConfig.setMaxMessagesPerRead(int maxMessagesPerRead)
已过时。  
 | 
DuplexChannelConfig | 
DuplexChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator)  | 
DuplexChannelConfig | 
DuplexChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator)  | 
DuplexChannelConfig | 
DuplexChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark)  | 
DuplexChannelConfig | 
DuplexChannelConfig.setWriteSpinCount(int writeSpinCount)  | 
| 限定符和类型 | 接口和说明 | 
|---|---|
interface  | 
OioSocketChannelConfig
已过时。 
 
use NIO / EPOLL / KQUEUE transport. 
 | 
| 限定符和类型 | 类和说明 | 
|---|---|
class  | 
DefaultOioSocketChannelConfig
已过时。 
 
use NIO / EPOLL / KQUEUE transport. 
 |