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 | Class and Description |
---|---|
class |
DefaultMessageSizeEstimator
Default
MessageSizeEstimator implementation which supports the estimation of the size of
ByteBuf , ByteBufHolder and FileRegion . |
Modifier and Type | Field and Description |
---|---|
static MessageSizeEstimator |
DefaultMessageSizeEstimator.DEFAULT
Return the default implementation which returns
8 for unknown messages. |
Modifier and Type | Field and Description |
---|---|
static ChannelOption<MessageSizeEstimator> |
ChannelOption.MESSAGE_SIZE_ESTIMATOR |
Modifier and Type | Method and Description |
---|---|
MessageSizeEstimator |
DefaultChannelConfig.getMessageSizeEstimator() |
MessageSizeEstimator |
ChannelConfig.getMessageSizeEstimator()
Returns
MessageSizeEstimator which is used for the channel
to detect the size of a message. |
Modifier and Type | Method and Description |
---|---|
ChannelConfig |
DefaultChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
ChannelConfig |
ChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator)
Set the
MessageSizeEstimator which is used for the channel
to detect the size of a message. |
Modifier and Type | Method and Description |
---|---|
EpollDatagramChannelConfig |
EpollDatagramChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
EpollDomainSocketChannelConfig |
EpollDomainSocketChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
EpollServerChannelConfig |
EpollServerChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
EpollSocketChannelConfig |
EpollSocketChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
EpollDomainDatagramChannelConfig |
EpollDomainDatagramChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
EpollChannelConfig |
EpollChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
EpollServerSocketChannelConfig |
EpollServerSocketChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
Modifier and Type | Method and Description |
---|---|
KQueueDatagramChannelConfig |
KQueueDatagramChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
KQueueSocketChannelConfig |
KQueueSocketChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
KQueueServerChannelConfig |
KQueueServerChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
KQueueServerSocketChannelConfig |
KQueueServerSocketChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
KQueueChannelConfig |
KQueueChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
KQueueDomainSocketChannelConfig |
KQueueDomainSocketChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
KQueueDomainDatagramChannelConfig |
KQueueDomainDatagramChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
Modifier and Type | Method and Description |
---|---|
RxtxChannelConfig |
RxtxChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
SctpServerChannelConfig |
SctpServerChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
SctpChannelConfig |
SctpChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
SctpServerChannelConfig |
DefaultSctpServerChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
SctpChannelConfig |
DefaultSctpChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
Modifier and Type | Method and Description |
---|---|
SocketChannelConfig |
SocketChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
ServerSocketChannelConfig |
ServerSocketChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
DatagramChannelConfig |
DatagramChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
SocketChannelConfig |
DefaultSocketChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
DuplexChannelConfig |
DuplexChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
DatagramChannelConfig |
DefaultDatagramChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
ServerSocketChannelConfig |
DefaultServerSocketChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
Modifier and Type | Method and Description |
---|---|
OioSocketChannelConfig |
OioSocketChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator)
Deprecated.
|
OioServerSocketChannelConfig |
DefaultOioServerSocketChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator)
Deprecated.
|
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator)
Deprecated.
|
OioDatagramChannelConfig |
OioDatagramChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator)
Deprecated.
|
OioServerSocketChannelConfig |
OioServerSocketChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
UdtServerChannelConfig |
UdtServerChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator)
Deprecated.
|
UdtChannelConfig |
UdtChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator)
Deprecated.
|
UdtServerChannelConfig |
DefaultUdtServerChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator)
Deprecated.
|
UdtChannelConfig |
DefaultUdtChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
DomainSocketChannelConfig |
DomainSocketChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
DomainDatagramChannelConfig |
DomainDatagramChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
Copyright © 2008–2024 The Netty Project. All rights reserved.