Uses of Interface
io.netty.channel.MessageSizeEstimator
-
Packages that use MessageSizeEstimator 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.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.unix Unix specific transport. -
-
Uses of MessageSizeEstimator in io.netty.channel
Classes in io.netty.channel that implement MessageSizeEstimator Modifier and Type Class Description class
DefaultMessageSizeEstimator
DefaultMessageSizeEstimator
implementation which supports the estimation of the size ofByteBuf
,ByteBufHolder
andFileRegion
.Fields in io.netty.channel declared as MessageSizeEstimator Modifier and Type Field Description static MessageSizeEstimator
DefaultMessageSizeEstimator. DEFAULT
Return the default implementation which returns8
for unknown messages.Fields in io.netty.channel with type parameters of type MessageSizeEstimator Modifier and Type Field Description static ChannelOption<MessageSizeEstimator>
ChannelOption. MESSAGE_SIZE_ESTIMATOR
Methods in io.netty.channel that return MessageSizeEstimator Modifier and Type Method Description MessageSizeEstimator
ChannelConfig. getMessageSizeEstimator()
ReturnsMessageSizeEstimator
which is used for the channel to detect the size of a message.MessageSizeEstimator
DefaultChannelConfig. getMessageSizeEstimator()
Methods in io.netty.channel with parameters of type MessageSizeEstimator Modifier and Type Method Description ChannelConfig
ChannelConfig. setMessageSizeEstimator(MessageSizeEstimator estimator)
Set theMessageSizeEstimator
which is used for the channel to detect the size of a message.ChannelConfig
DefaultChannelConfig. setMessageSizeEstimator(MessageSizeEstimator estimator)
-
Uses of MessageSizeEstimator in io.netty.channel.socket
Methods in io.netty.channel.socket with parameters of type MessageSizeEstimator Modifier and Type Method Description DatagramChannelConfig
DatagramChannelConfig. setMessageSizeEstimator(MessageSizeEstimator estimator)
DatagramChannelConfig
DefaultDatagramChannelConfig. setMessageSizeEstimator(MessageSizeEstimator estimator)
ServerSocketChannelConfig
DefaultServerSocketChannelConfig. setMessageSizeEstimator(MessageSizeEstimator estimator)
SocketChannelConfig
DefaultSocketChannelConfig. setMessageSizeEstimator(MessageSizeEstimator estimator)
DuplexChannelConfig
DuplexChannelConfig. setMessageSizeEstimator(MessageSizeEstimator estimator)
ServerSocketChannelConfig
ServerSocketChannelConfig. setMessageSizeEstimator(MessageSizeEstimator estimator)
SocketChannelConfig
SocketChannelConfig. setMessageSizeEstimator(MessageSizeEstimator estimator)
-
Uses of MessageSizeEstimator in io.netty.channel.socket.oio
Methods in io.netty.channel.socket.oio with parameters of type MessageSizeEstimator Modifier and Type Method Description OioServerSocketChannelConfig
DefaultOioServerSocketChannelConfig. setMessageSizeEstimator(MessageSizeEstimator estimator)
Deprecated.OioSocketChannelConfig
DefaultOioSocketChannelConfig. setMessageSizeEstimator(MessageSizeEstimator estimator)
Deprecated.OioDatagramChannelConfig
OioDatagramChannelConfig. setMessageSizeEstimator(MessageSizeEstimator estimator)
Deprecated.OioServerSocketChannelConfig
OioServerSocketChannelConfig. setMessageSizeEstimator(MessageSizeEstimator estimator)
Deprecated.OioSocketChannelConfig
OioSocketChannelConfig. setMessageSizeEstimator(MessageSizeEstimator estimator)
Deprecated. -
Uses of MessageSizeEstimator in io.netty.channel.unix
Methods in io.netty.channel.unix with parameters of type MessageSizeEstimator Modifier and Type Method Description DomainSocketChannelConfig
DomainSocketChannelConfig. setMessageSizeEstimator(MessageSizeEstimator estimator)
-