程序包 | 说明 |
---|---|
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.rxtx |
A serial and parallel port communication transport based on RXTX.
|
io.netty.channel.sctp |
Abstract SCTP socket interfaces which extend the core channel API.
|
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).
|
io.netty.channel.udt |
UDT Transport.
|
io.netty.channel.unix |
Unix specific transport.
|
限定符和类型 | 类和说明 |
---|---|
class |
AdaptiveRecvByteBufAllocator
The
RecvByteBufAllocator that automatically increases and
decreases the predicted buffer size on feed back. |
class |
FixedRecvByteBufAllocator
The
RecvByteBufAllocator that always yields the same buffer
size prediction. |
限定符和类型 | 字段和说明 |
---|---|
static ChannelOption<RecvByteBufAllocator> |
ChannelOption.RCVBUF_ALLOCATOR |
限定符和类型 | 方法和说明 |
---|---|
RecvByteBufAllocator |
DefaultChannelConfig.getRecvByteBufAllocator() |
RecvByteBufAllocator |
ChannelConfig.getRecvByteBufAllocator()
Returns
RecvByteBufAllocator which is used for the channel
to allocate receive buffers. |
限定符和类型 | 方法和说明 |
---|---|
ChannelConfig |
DefaultChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
ChannelConfig |
ChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator)
Set the
ByteBufAllocator which is used for the channel
to allocate receive buffers. |
限定符和类型 | 方法和说明 |
---|---|
EpollSocketChannelConfig |
EpollSocketChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
EpollServerSocketChannelConfig |
EpollServerSocketChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
EpollServerChannelConfig |
EpollServerChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
EpollDomainSocketChannelConfig |
EpollDomainSocketChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
EpollDatagramChannelConfig |
EpollDatagramChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
EpollChannelConfig |
EpollChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
限定符和类型 | 方法和说明 |
---|---|
RxtxChannelConfig |
RxtxChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator)
已过时。
|
限定符和类型 | 方法和说明 |
---|---|
SctpServerChannelConfig |
SctpServerChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
SctpChannelConfig |
SctpChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
SctpServerChannelConfig |
DefaultSctpServerChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
SctpChannelConfig |
DefaultSctpChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
限定符和类型 | 方法和说明 |
---|---|
SocketChannelConfig |
SocketChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
ServerSocketChannelConfig |
ServerSocketChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
SocketChannelConfig |
DefaultSocketChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
ServerSocketChannelConfig |
DefaultServerSocketChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
DatagramChannelConfig |
DefaultDatagramChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
DatagramChannelConfig |
DatagramChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
限定符和类型 | 方法和说明 |
---|---|
OioSocketChannelConfig |
OioSocketChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
OioServerSocketChannelConfig |
OioServerSocketChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
OioDatagramChannelConfig |
OioDatagramChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
OioServerSocketChannelConfig |
DefaultOioServerSocketChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
限定符和类型 | 方法和说明 |
---|---|
UdtServerChannelConfig |
UdtServerChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator)
已过时。
|
UdtChannelConfig |
UdtChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator)
已过时。
|
UdtServerChannelConfig |
DefaultUdtServerChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator)
已过时。
|
UdtChannelConfig |
DefaultUdtChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator)
已过时。
|
限定符和类型 | 方法和说明 |
---|---|
DomainSocketChannelConfig |
DomainSocketChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |