Package | Description |
---|---|
io.netty.channel.epoll |
Optimized transport for linux which uses EPOLL Edge-Triggered Mode
for maximal performance.
|
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 |
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(java.net.InetAddress interfaceAddress) |
DatagramChannelConfig |
DatagramChannelConfig.setInterface(java.net.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) |
DatagramChannelConfig |
DatagramChannelConfig.setMaxMessagesPerRead(int maxMessagesPerRead) |
DatagramChannelConfig |
DefaultDatagramChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
DatagramChannelConfig |
DatagramChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
DatagramChannelConfig |
DefaultDatagramChannelConfig.setNetworkInterface(java.net.NetworkInterface networkInterface) |
DatagramChannelConfig |
DatagramChannelConfig.setNetworkInterface(java.net.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.setWriteSpinCount(int writeSpinCount) |
DatagramChannelConfig |
DatagramChannelConfig.setWriteSpinCount(int writeSpinCount) |
Modifier and Type | Method and Description |
---|---|
DatagramChannelConfig |
NioDatagramChannel.config() |
Modifier and Type | Interface and Description |
---|---|
interface |
OioDatagramChannelConfig |
Modifier and Type | Method and Description |
---|---|
DatagramChannelConfig |
OioDatagramChannel.config()
Returns the configuration of this channel.
|
Copyright © 2008–2018 The Netty Project. All rights reserved.