Uses of Interface
io.netty.channel.ChannelConfig
-
Packages that use ChannelConfig 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.embedded A virtualChannel
that helps wrapping a series of handlers to unit test the handlers or use them in non-I/O context.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.local A virtual transport that enables the communication between the two parties in the same virtual machine.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.nio NIO-based socket channel API implementation - recommended for a large number of connections (>= 1000).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. -
-
Uses of ChannelConfig in io.netty.channel
Classes in io.netty.channel that implement ChannelConfig Modifier and Type Class Description class
DefaultChannelConfig
The defaultChannelConfig
implementation.Methods in io.netty.channel that return ChannelConfig Modifier and Type Method Description ChannelConfig
Channel. config()
Returns the configuration of this channel.ChannelConfig
ChannelConfig. setAllocator(ByteBufAllocator allocator)
Set theByteBufAllocator
which is used for the channel to allocate buffers.ChannelConfig
DefaultChannelConfig. setAllocator(ByteBufAllocator allocator)
ChannelConfig
ChannelConfig. setAutoClose(boolean autoClose)
Sets whether theChannel
should be closed automatically and immediately on write failure.ChannelConfig
DefaultChannelConfig. setAutoClose(boolean autoClose)
ChannelConfig
ChannelConfig. setAutoRead(boolean autoRead)
Sets ifChannelHandlerContext.read()
will be invoked automatically so that a user application doesn't need to call it at all.ChannelConfig
DefaultChannelConfig. setAutoRead(boolean autoRead)
ChannelConfig
ChannelConfig. setConnectTimeoutMillis(int connectTimeoutMillis)
Sets the connect timeout of the channel in milliseconds.ChannelConfig
DefaultChannelConfig. setConnectTimeoutMillis(int connectTimeoutMillis)
ChannelConfig
ChannelConfig. setMaxMessagesPerRead(int maxMessagesPerRead)
Deprecated.ChannelConfig
DefaultChannelConfig. setMaxMessagesPerRead(int maxMessagesPerRead)
Deprecated.ChannelConfig
DefaultChannelConfig. setMaxMessagesPerWrite(int maxMessagesPerWrite)
Set the maximum number of message to write per eventloop run.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)
ChannelConfig
ChannelConfig. setRecvByteBufAllocator(RecvByteBufAllocator allocator)
Set theRecvByteBufAllocator
which is used for the channel to allocate receive buffers.ChannelConfig
DefaultChannelConfig. setRecvByteBufAllocator(RecvByteBufAllocator allocator)
ChannelConfig
ChannelConfig. setWriteBufferHighWaterMark(int writeBufferHighWaterMark)
Sets the high water mark of the write buffer.ChannelConfig
DefaultChannelConfig. setWriteBufferHighWaterMark(int writeBufferHighWaterMark)
ChannelConfig
ChannelConfig. setWriteBufferLowWaterMark(int writeBufferLowWaterMark)
Sets the low water mark of the write buffer.ChannelConfig
DefaultChannelConfig. setWriteBufferLowWaterMark(int writeBufferLowWaterMark)
ChannelConfig
ChannelConfig. setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark)
Set theWriteBufferWaterMark
which is used for setting the high and low water mark of the write buffer.ChannelConfig
DefaultChannelConfig. setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark)
ChannelConfig
ChannelConfig. setWriteSpinCount(int writeSpinCount)
Sets the maximum loop count for a write operation untilWritableByteChannel.write(ByteBuffer)
returns a non-zero value.ChannelConfig
DefaultChannelConfig. setWriteSpinCount(int writeSpinCount)
Methods in io.netty.channel with parameters of type ChannelConfig Modifier and Type Method Description void
DefaultMaxMessagesRecvByteBufAllocator.MaxMessageHandle. reset(ChannelConfig config)
OnlygetMaxMessagesPerRead()
is used.void
RecvByteBufAllocator.DelegatingHandle. reset(ChannelConfig config)
void
RecvByteBufAllocator.Handle. reset(ChannelConfig config)
Deprecated.Reset any counters that have accumulated and recommend how many messages/bytes should be read for the next read loop. -
Uses of ChannelConfig in io.netty.channel.embedded
Methods in io.netty.channel.embedded that return ChannelConfig Modifier and Type Method Description ChannelConfig
EmbeddedChannel. config()
Constructors in io.netty.channel.embedded with parameters of type ChannelConfig Constructor Description EmbeddedChannel(ChannelId channelId, boolean hasDisconnect, ChannelConfig config, ChannelHandler... handlers)
Create a new instance with the channel ID set to the given ID and the pipeline initialized with the specified handlers. -
Uses of ChannelConfig in io.netty.channel.epoll
Classes in io.netty.channel.epoll that implement ChannelConfig Modifier and Type Class Description class
EpollChannelConfig
class
EpollDatagramChannelConfig
class
EpollDomainDatagramChannelConfig
class
EpollDomainSocketChannelConfig
class
EpollServerChannelConfig
class
EpollServerSocketChannelConfig
class
EpollSocketChannelConfig
-
Uses of ChannelConfig in io.netty.channel.kqueue
Classes in io.netty.channel.kqueue that implement ChannelConfig Modifier and Type Class Description class
KQueueChannelConfig
class
KQueueDatagramChannelConfig
class
KQueueDomainDatagramChannelConfig
class
KQueueDomainSocketChannelConfig
class
KQueueServerChannelConfig
class
KQueueServerSocketChannelConfig
class
KQueueSocketChannelConfig
-
Uses of ChannelConfig in io.netty.channel.local
Methods in io.netty.channel.local that return ChannelConfig Modifier and Type Method Description ChannelConfig
LocalChannel. config()
ChannelConfig
LocalServerChannel. config()
-
Uses of ChannelConfig in io.netty.channel.rxtx
Subinterfaces of ChannelConfig in io.netty.channel.rxtx Modifier and Type Interface Description interface
RxtxChannelConfig
Deprecated.this transport will be removed in the next major version. -
Uses of ChannelConfig in io.netty.channel.sctp
Subinterfaces of ChannelConfig in io.netty.channel.sctp Modifier and Type Interface Description interface
SctpChannelConfig
AChannelConfig
for aSctpChannel
.interface
SctpServerChannelConfig
AChannelConfig
for aSctpServerChannelConfig
.Classes in io.netty.channel.sctp that implement ChannelConfig Modifier and Type Class Description class
DefaultSctpChannelConfig
The defaultSctpChannelConfig
implementation for SCTP.class
DefaultSctpServerChannelConfig
The defaultSctpServerChannelConfig
implementation for SCTP. -
Uses of ChannelConfig in io.netty.channel.socket
Subinterfaces of ChannelConfig in io.netty.channel.socket Modifier and Type Interface Description interface
DatagramChannelConfig
AChannelConfig
for aDatagramChannel
.interface
DuplexChannelConfig
AChannelConfig
for aDuplexChannel
.interface
ServerSocketChannelConfig
AChannelConfig
for aServerSocketChannel
.interface
SocketChannelConfig
AChannelConfig
for aSocketChannel
.Classes in io.netty.channel.socket that implement ChannelConfig Modifier and Type Class Description class
DefaultDatagramChannelConfig
The defaultDatagramChannelConfig
implementation.class
DefaultServerSocketChannelConfig
The defaultServerSocketChannelConfig
implementation.class
DefaultSocketChannelConfig
The defaultSocketChannelConfig
implementation. -
Uses of ChannelConfig in io.netty.channel.socket.nio
Methods in io.netty.channel.socket.nio that return ChannelConfig Modifier and Type Method Description ChannelConfig
NioDomainSocketChannel. config()
ChannelConfig
NioServerDomainSocketChannel. config()
-
Uses of ChannelConfig in io.netty.channel.socket.oio
Subinterfaces of ChannelConfig in io.netty.channel.socket.oio Modifier and Type Interface Description interface
OioDatagramChannelConfig
Deprecated.use NIO / EPOLL / KQUEUE transport.interface
OioServerSocketChannelConfig
Deprecated.use NIO / EPOLL / KQUEUE transport.interface
OioSocketChannelConfig
Deprecated.use NIO / EPOLL / KQUEUE transport.Classes in io.netty.channel.socket.oio that implement ChannelConfig Modifier and Type Class Description class
DefaultOioServerSocketChannelConfig
Deprecated.use NIO / EPOLL / KQUEUE transport.class
DefaultOioSocketChannelConfig
Deprecated.use NIO / EPOLL / KQUEUE transport. -
Uses of ChannelConfig in io.netty.channel.udt
Subinterfaces of ChannelConfig in io.netty.channel.udt Modifier and Type Interface Description interface
UdtChannelConfig
Deprecated.The UDT transport is no longer maintained and will be removed.interface
UdtServerChannelConfig
Deprecated.The UDT transport is no longer maintained and will be removed.Classes in io.netty.channel.udt that implement ChannelConfig Modifier and Type Class Description class
DefaultUdtChannelConfig
Deprecated.The UDT transport is no longer maintained and will be removed.class
DefaultUdtServerChannelConfig
Deprecated.The UDT transport is no longer maintained and will be removed. -
Uses of ChannelConfig in io.netty.channel.unix
Subinterfaces of ChannelConfig in io.netty.channel.unix Modifier and Type Interface Description interface
DomainDatagramChannelConfig
AChannelConfig
for aDomainDatagramChannel
.interface
DomainSocketChannelConfig
SpecialChannelConfig
forDomainSocketChannel
s.
-