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.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.
|
Modifier and Type | Class and Description |
---|---|
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. |
Modifier and Type | Field and Description |
---|---|
static ChannelOption<RecvByteBufAllocator> |
ChannelOption.RCVBUF_ALLOCATOR |
Modifier and Type | Method and Description |
---|---|
RecvByteBufAllocator |
DefaultChannelConfig.getRecvByteBufAllocator() |
RecvByteBufAllocator |
ChannelConfig.getRecvByteBufAllocator()
Returns
RecvByteBufAllocator which is used for the channel
to allocate receive buffers. |
Modifier and Type | Method and Description |
---|---|
ChannelConfig |
DefaultChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
ChannelConfig |
ChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator)
Set the
ByteBufAllocator which is used for the channel
to allocate receive buffers. |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
RxtxChannelConfig |
RxtxChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
SctpServerChannelConfig |
SctpServerChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
SctpChannelConfig |
SctpChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
SctpServerChannelConfig |
DefaultSctpServerChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
SctpChannelConfig |
DefaultSctpChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
UdtServerChannelConfig |
UdtServerChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator)
Deprecated.
|
UdtChannelConfig |
UdtChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator)
Deprecated.
|
UdtServerChannelConfig |
DefaultUdtServerChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator)
Deprecated.
|
UdtChannelConfig |
DefaultUdtChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
DomainSocketChannelConfig |
DomainSocketChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
Copyright © 2008–2018 The Netty Project. All rights reserved.