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