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 |
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
-1 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
ByteBufAllocator which is used for the channel
to detect the size of a message. |
Modifier and Type | Method and Description |
---|---|
EpollServerChannelConfig |
EpollServerChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
EpollSocketChannelConfig |
EpollSocketChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
EpollChannelConfig |
EpollChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
EpollServerSocketChannelConfig |
EpollServerSocketChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
EpollDomainSocketChannelConfig |
EpollDomainSocketChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
EpollDatagramChannelConfig |
EpollDatagramChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
Modifier and Type | Method and Description |
---|---|
RxtxChannelConfig |
RxtxChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
Modifier and Type | Method and Description |
---|---|
SctpChannelConfig |
DefaultSctpChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
SctpChannelConfig |
SctpChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
SctpServerChannelConfig |
DefaultSctpServerChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
SctpServerChannelConfig |
SctpServerChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
Modifier and Type | Method and Description |
---|---|
SocketChannelConfig |
SocketChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
DatagramChannelConfig |
DatagramChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
DatagramChannelConfig |
DefaultDatagramChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
SocketChannelConfig |
DefaultSocketChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
ServerSocketChannelConfig |
DefaultServerSocketChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
ServerSocketChannelConfig |
ServerSocketChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
Modifier and Type | Method and Description |
---|---|
OioServerSocketChannelConfig |
OioServerSocketChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
OioSocketChannelConfig |
OioSocketChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
OioServerSocketChannelConfig |
DefaultOioServerSocketChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
Modifier and Type | Method and Description |
---|---|
UdtServerChannelConfig |
DefaultUdtServerChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
UdtChannelConfig |
UdtChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
UdtChannelConfig |
DefaultUdtChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
UdtServerChannelConfig |
UdtServerChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
Modifier and Type | Method and Description |
---|---|
DomainSocketChannelConfig |
DomainSocketChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
Copyright © 2008–2015 The Netty Project. All rights reserved.