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