程序包 | 说明 |
---|---|
io.netty.channel.socket.oio |
Old blocking I/O based socket channel API implementation - recommended for
a small number of connections (< 1000).
|
限定符和类型 | 类和说明 |
---|---|
class |
DefaultOioSocketChannelConfig
Default
OioSocketChannelConfig implementation |
限定符和类型 | 方法和说明 |
---|---|
OioSocketChannelConfig |
OioSocketChannel.config() |
OioSocketChannelConfig |
OioSocketChannelConfig.setAllocator(ByteBufAllocator allocator) |
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setAllocator(ByteBufAllocator allocator) |
OioSocketChannelConfig |
OioSocketChannelConfig.setAllowHalfClosure(boolean allowHalfClosure) |
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setAllowHalfClosure(boolean allowHalfClosure) |
OioSocketChannelConfig |
OioSocketChannelConfig.setAutoClose(boolean autoClose) |
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setAutoClose(boolean autoClose) |
OioSocketChannelConfig |
OioSocketChannelConfig.setAutoRead(boolean autoRead) |
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setAutoRead(boolean autoRead) |
OioSocketChannelConfig |
OioSocketChannelConfig.setConnectTimeoutMillis(int connectTimeoutMillis) |
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setConnectTimeoutMillis(int connectTimeoutMillis) |
OioSocketChannelConfig |
OioSocketChannelConfig.setKeepAlive(boolean keepAlive) |
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setKeepAlive(boolean keepAlive) |
OioSocketChannelConfig |
OioSocketChannelConfig.setMaxMessagesPerRead(int maxMessagesPerRead) |
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setMaxMessagesPerRead(int maxMessagesPerRead) |
OioSocketChannelConfig |
OioSocketChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
OioSocketChannelConfig |
OioSocketChannelConfig.setPerformancePreferences(int connectionTime,
int latency,
int bandwidth) |
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setPerformancePreferences(int connectionTime,
int latency,
int bandwidth) |
OioSocketChannelConfig |
OioSocketChannelConfig.setReceiveBufferSize(int receiveBufferSize) |
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setReceiveBufferSize(int receiveBufferSize) |
OioSocketChannelConfig |
OioSocketChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
OioSocketChannelConfig |
OioSocketChannelConfig.setReuseAddress(boolean reuseAddress) |
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setReuseAddress(boolean reuseAddress) |
OioSocketChannelConfig |
OioSocketChannelConfig.setSendBufferSize(int sendBufferSize) |
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setSendBufferSize(int sendBufferSize) |
OioSocketChannelConfig |
OioSocketChannelConfig.setSoLinger(int soLinger) |
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setSoLinger(int soLinger) |
OioSocketChannelConfig |
OioSocketChannelConfig.setSoTimeout(int timeout)
Sets the maximal time a operation on the underlying socket may block.
|
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setSoTimeout(int timeout) |
OioSocketChannelConfig |
OioSocketChannelConfig.setTcpNoDelay(boolean tcpNoDelay) |
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setTcpNoDelay(boolean tcpNoDelay) |
OioSocketChannelConfig |
OioSocketChannelConfig.setTrafficClass(int trafficClass) |
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setTrafficClass(int trafficClass) |
OioSocketChannelConfig |
OioSocketChannelConfig.setWriteBufferHighWaterMark(int writeBufferHighWaterMark) |
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setWriteBufferHighWaterMark(int writeBufferHighWaterMark) |
OioSocketChannelConfig |
OioSocketChannelConfig.setWriteBufferLowWaterMark(int writeBufferLowWaterMark) |
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setWriteBufferLowWaterMark(int writeBufferLowWaterMark) |
OioSocketChannelConfig |
OioSocketChannelConfig.setWriteSpinCount(int writeSpinCount) |
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setWriteSpinCount(int writeSpinCount) |