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.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).
|
Modifier and Type | Class and Description |
---|---|
class |
EpollDatagramChannelConfig |
Modifier and Type | Method and Description |
---|---|
DatagramChannelConfig |
EpollDatagramChannelConfig.setLoopbackModeDisabled(boolean loopbackModeDisabled) |
Modifier and Type | Class and Description |
---|---|
class |
KQueueDatagramChannelConfig |
Modifier and Type | Method and Description |
---|---|
DatagramChannelConfig |
KQueueDatagramChannelConfig.setLoopbackModeDisabled(boolean loopbackModeDisabled) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultDatagramChannelConfig
The default
DatagramChannelConfig implementation. |
Modifier and Type | Method and Description |
---|---|
DatagramChannelConfig |
DatagramChannel.config() |
DatagramChannelConfig |
DatagramChannelConfig.setAllocator(ByteBufAllocator allocator) |
DatagramChannelConfig |
DefaultDatagramChannelConfig.setAllocator(ByteBufAllocator allocator) |
DatagramChannelConfig |
DatagramChannelConfig.setAutoClose(boolean autoClose) |
DatagramChannelConfig |
DefaultDatagramChannelConfig.setAutoClose(boolean autoClose) |
DatagramChannelConfig |
DatagramChannelConfig.setAutoRead(boolean autoRead) |
DatagramChannelConfig |
DefaultDatagramChannelConfig.setAutoRead(boolean autoRead) |
DatagramChannelConfig |
DatagramChannelConfig.setBroadcast(boolean broadcast)
Sets the
StandardSocketOptions.SO_BROADCAST option. |
DatagramChannelConfig |
DefaultDatagramChannelConfig.setBroadcast(boolean broadcast) |
DatagramChannelConfig |
DatagramChannelConfig.setConnectTimeoutMillis(int connectTimeoutMillis) |
DatagramChannelConfig |
DefaultDatagramChannelConfig.setConnectTimeoutMillis(int connectTimeoutMillis) |
DatagramChannelConfig |
DatagramChannelConfig.setInterface(InetAddress interfaceAddress)
Sets the address of the network interface used for multicast packets.
|
DatagramChannelConfig |
DefaultDatagramChannelConfig.setInterface(InetAddress interfaceAddress) |
DatagramChannelConfig |
DatagramChannelConfig.setLoopbackModeDisabled(boolean loopbackModeDisabled)
Sets the
StandardSocketOptions.IP_MULTICAST_LOOP option. |
DatagramChannelConfig |
DefaultDatagramChannelConfig.setLoopbackModeDisabled(boolean loopbackModeDisabled) |
DatagramChannelConfig |
DatagramChannelConfig.setMaxMessagesPerRead(int maxMessagesPerRead)
Deprecated.
|
DatagramChannelConfig |
DefaultDatagramChannelConfig.setMaxMessagesPerRead(int maxMessagesPerRead)
Deprecated.
|
DatagramChannelConfig |
DefaultDatagramChannelConfig.setMaxMessagesPerWrite(int maxMessagesPerWrite) |
DatagramChannelConfig |
DatagramChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
DatagramChannelConfig |
DefaultDatagramChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
DatagramChannelConfig |
DatagramChannelConfig.setNetworkInterface(NetworkInterface networkInterface)
Sets the
StandardSocketOptions.IP_MULTICAST_IF option. |
DatagramChannelConfig |
DefaultDatagramChannelConfig.setNetworkInterface(NetworkInterface networkInterface) |
DatagramChannelConfig |
DatagramChannelConfig.setReceiveBufferSize(int receiveBufferSize)
Sets the
StandardSocketOptions.SO_RCVBUF option. |
DatagramChannelConfig |
DefaultDatagramChannelConfig.setReceiveBufferSize(int receiveBufferSize) |
DatagramChannelConfig |
DatagramChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
DatagramChannelConfig |
DefaultDatagramChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
DatagramChannelConfig |
DatagramChannelConfig.setReuseAddress(boolean reuseAddress)
Gets the
StandardSocketOptions.SO_REUSEADDR option. |
DatagramChannelConfig |
DefaultDatagramChannelConfig.setReuseAddress(boolean reuseAddress) |
DatagramChannelConfig |
DatagramChannelConfig.setSendBufferSize(int sendBufferSize)
Sets the
StandardSocketOptions.SO_SNDBUF option. |
DatagramChannelConfig |
DefaultDatagramChannelConfig.setSendBufferSize(int sendBufferSize) |
DatagramChannelConfig |
DatagramChannelConfig.setTimeToLive(int ttl)
Sets the
StandardSocketOptions.IP_MULTICAST_TTL option. |
DatagramChannelConfig |
DefaultDatagramChannelConfig.setTimeToLive(int ttl) |
DatagramChannelConfig |
DatagramChannelConfig.setTrafficClass(int trafficClass)
Sets the
StandardSocketOptions.IP_TOS option. |
DatagramChannelConfig |
DefaultDatagramChannelConfig.setTrafficClass(int trafficClass) |
DatagramChannelConfig |
DefaultDatagramChannelConfig.setWriteBufferHighWaterMark(int writeBufferHighWaterMark) |
DatagramChannelConfig |
DefaultDatagramChannelConfig.setWriteBufferLowWaterMark(int writeBufferLowWaterMark) |
DatagramChannelConfig |
DatagramChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
DatagramChannelConfig |
DefaultDatagramChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
DatagramChannelConfig |
DatagramChannelConfig.setWriteSpinCount(int writeSpinCount) |
DatagramChannelConfig |
DefaultDatagramChannelConfig.setWriteSpinCount(int writeSpinCount) |
Modifier and Type | Method and Description |
---|---|
DatagramChannelConfig |
NioDatagramChannel.config() |
Modifier and Type | Interface and Description |
---|---|
interface |
OioDatagramChannelConfig
Deprecated.
use NIO / EPOLL / KQUEUE transport.
|
Modifier and Type | Method and Description |
---|---|
DatagramChannelConfig |
OioDatagramChannel.config()
Deprecated.
Returns the configuration of this channel.
|
Copyright © 2008–2024 The Netty Project. All rights reserved.