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.kqueue |
BSD specific transport.
|
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 | Interface and Description |
---|---|
interface |
MaxBytesRecvByteBufAllocator
RecvByteBufAllocator that limits a read operation based upon a maximum value per individual read
and a maximum amount when a read operation is attempted by the event loop. |
interface |
MaxMessagesRecvByteBufAllocator
RecvByteBufAllocator that limits the number of read operations that will be attempted when a read operation
is attempted by the event loop. |
Modifier and Type | Class and Description |
---|---|
class |
AdaptiveRecvByteBufAllocator
The
RecvByteBufAllocator that automatically increases and
decreases the predicted buffer size on feed back. |
class |
DefaultMaxBytesRecvByteBufAllocator
The
RecvByteBufAllocator that yields a buffer size prediction based upon decrementing the value from
the max bytes per read. |
class |
DefaultMaxMessagesRecvByteBufAllocator
Default implementation of
MaxMessagesRecvByteBufAllocator which respects ChannelConfig.isAutoRead()
and also prevents overflow. |
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 |
---|---|
<T extends RecvByteBufAllocator> |
DefaultChannelConfig.getRecvByteBufAllocator() |
<T extends 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
RecvByteBufAllocator which is used for the channel to allocate receive buffers. |
Constructor and Description |
---|
DefaultChannelConfig(Channel channel,
RecvByteBufAllocator allocator) |
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 |
---|---|
KQueueSocketChannelConfig |
KQueueSocketChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
KQueueServerSocketChannelConfig |
KQueueServerSocketChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
KQueueServerChannelConfig |
KQueueServerChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
KQueueDomainSocketChannelConfig |
KQueueDomainSocketChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
KQueueDatagramChannelConfig |
KQueueDatagramChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
KQueueChannelConfig |
KQueueChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
Modifier and Type | Method and Description |
---|---|
RxtxChannelConfig |
RxtxChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
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) |
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–2017 The Netty Project. All rights reserved.