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 |
EpollServerSocketChannelConfig |
Modifier and Type | Class and Description |
---|---|
class |
DefaultServerSocketChannelConfig
The default
ServerSocketChannelConfig implementation. |
Modifier and Type | Method and Description |
---|---|
ServerSocketChannelConfig |
ServerSocketChannel.config() |
ServerSocketChannelConfig |
DefaultServerSocketChannelConfig.setAllocator(ByteBufAllocator allocator) |
ServerSocketChannelConfig |
ServerSocketChannelConfig.setAllocator(ByteBufAllocator allocator) |
ServerSocketChannelConfig |
DefaultServerSocketChannelConfig.setAutoRead(boolean autoRead) |
ServerSocketChannelConfig |
ServerSocketChannelConfig.setAutoRead(boolean autoRead) |
ServerSocketChannelConfig |
DefaultServerSocketChannelConfig.setBacklog(int backlog) |
ServerSocketChannelConfig |
ServerSocketChannelConfig.setBacklog(int backlog)
Sets the backlog value to specify when the channel binds to a local
address.
|
ServerSocketChannelConfig |
DefaultServerSocketChannelConfig.setConnectTimeoutMillis(int connectTimeoutMillis) |
ServerSocketChannelConfig |
ServerSocketChannelConfig.setConnectTimeoutMillis(int connectTimeoutMillis) |
ServerSocketChannelConfig |
DefaultServerSocketChannelConfig.setMaxMessagesPerRead(int maxMessagesPerRead) |
ServerSocketChannelConfig |
ServerSocketChannelConfig.setMaxMessagesPerRead(int maxMessagesPerRead) |
ServerSocketChannelConfig |
DefaultServerSocketChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
ServerSocketChannelConfig |
ServerSocketChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
ServerSocketChannelConfig |
DefaultServerSocketChannelConfig.setPerformancePreferences(int connectionTime,
int latency,
int bandwidth) |
ServerSocketChannelConfig |
ServerSocketChannelConfig.setPerformancePreferences(int connectionTime,
int latency,
int bandwidth)
Sets the performance preferences as specified in
ServerSocket.setPerformancePreferences(int, int, int) . |
ServerSocketChannelConfig |
DefaultServerSocketChannelConfig.setReceiveBufferSize(int receiveBufferSize) |
ServerSocketChannelConfig |
ServerSocketChannelConfig.setReceiveBufferSize(int receiveBufferSize)
Gets the
StandardSocketOptions.SO_SNDBUF option. |
ServerSocketChannelConfig |
DefaultServerSocketChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
ServerSocketChannelConfig |
ServerSocketChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
ServerSocketChannelConfig |
DefaultServerSocketChannelConfig.setReuseAddress(boolean reuseAddress) |
ServerSocketChannelConfig |
ServerSocketChannelConfig.setReuseAddress(boolean reuseAddress)
Sets the
StandardSocketOptions.SO_REUSEADDR option. |
ServerSocketChannelConfig |
DefaultServerSocketChannelConfig.setWriteBufferHighWaterMark(int writeBufferHighWaterMark) |
ServerSocketChannelConfig |
DefaultServerSocketChannelConfig.setWriteBufferLowWaterMark(int writeBufferLowWaterMark) |
ServerSocketChannelConfig |
DefaultServerSocketChannelConfig.setWriteSpinCount(int writeSpinCount) |
ServerSocketChannelConfig |
ServerSocketChannelConfig.setWriteSpinCount(int writeSpinCount) |
Modifier and Type | Method and Description |
---|---|
ServerSocketChannelConfig |
NioServerSocketChannel.config() |
Modifier and Type | Interface and Description |
---|---|
interface |
OioServerSocketChannelConfig
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultOioServerSocketChannelConfig
Default
OioServerSocketChannelConfig implementation |
Copyright © 2008–2015 The Netty Project. All rights reserved.