Package | Description |
---|---|
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.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).
|
Modifier and Type | Class and Description |
---|---|
class |
EpollDomainSocketChannelConfig |
class |
EpollSocketChannelConfig |
Modifier and Type | Class and Description |
---|---|
class |
KQueueDomainSocketChannelConfig |
class |
KQueueSocketChannelConfig |
Modifier and Type | Interface and Description |
---|---|
interface |
SocketChannelConfig
A
ChannelConfig for a SocketChannel . |
Modifier and Type | Class and Description |
---|---|
class |
DefaultSocketChannelConfig
The default
SocketChannelConfig implementation. |
Modifier and Type | Method and Description |
---|---|
DuplexChannelConfig |
DuplexChannelConfig.setAllocator(ByteBufAllocator allocator) |
DuplexChannelConfig |
DuplexChannelConfig.setAllowHalfClosure(boolean allowHalfClosure)
Sets whether the channel should not close itself when its remote peer shuts down output to
make the connection half-closed.
|
DuplexChannelConfig |
DuplexChannelConfig.setAutoClose(boolean autoClose) |
DuplexChannelConfig |
DuplexChannelConfig.setAutoRead(boolean autoRead) |
DuplexChannelConfig |
DuplexChannelConfig.setMaxMessagesPerRead(int maxMessagesPerRead)
Deprecated.
|
DuplexChannelConfig |
DuplexChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
DuplexChannelConfig |
DuplexChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
DuplexChannelConfig |
DuplexChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
DuplexChannelConfig |
DuplexChannelConfig.setWriteSpinCount(int writeSpinCount) |
Modifier and Type | Interface and Description |
---|---|
interface |
OioSocketChannelConfig
Deprecated.
use NIO / EPOLL / KQUEUE transport.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultOioSocketChannelConfig
Deprecated.
use NIO / EPOLL / KQUEUE transport.
|
Copyright © 2008–2024 The Netty Project. All rights reserved.