Uses of Interface
io.netty.channel.socket.SocketChannelConfig
-
Packages that use SocketChannelConfig Package Description 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). -
-
Uses of SocketChannelConfig in io.netty.channel.socket
Classes in io.netty.channel.socket that implement SocketChannelConfig Modifier and Type Class Description classDefaultSocketChannelConfigThe defaultSocketChannelConfigimplementation.Methods in io.netty.channel.socket that return SocketChannelConfig Modifier and Type Method Description SocketChannelConfigSocketChannel. config()SocketChannelConfigDefaultSocketChannelConfig. setAllocator(io.netty.buffer.ByteBufAllocator allocator)SocketChannelConfigSocketChannelConfig. setAllocator(io.netty.buffer.ByteBufAllocator allocator)SocketChannelConfigDefaultSocketChannelConfig. setAllowHalfClosure(boolean allowHalfClosure)SocketChannelConfigSocketChannelConfig. setAllowHalfClosure(boolean allowHalfClosure)SocketChannelConfigDefaultSocketChannelConfig. setAutoClose(boolean autoClose)SocketChannelConfigSocketChannelConfig. setAutoClose(boolean autoClose)SocketChannelConfigDefaultSocketChannelConfig. setAutoRead(boolean autoRead)SocketChannelConfigSocketChannelConfig. setAutoRead(boolean autoRead)SocketChannelConfigDefaultSocketChannelConfig. setConnectTimeoutMillis(int connectTimeoutMillis)SocketChannelConfigSocketChannelConfig. setConnectTimeoutMillis(int connectTimeoutMillis)SocketChannelConfigDefaultSocketChannelConfig. setKeepAlive(boolean keepAlive)SocketChannelConfigSocketChannelConfig. setKeepAlive(boolean keepAlive)Sets theStandardSocketOptions.SO_KEEPALIVEoption.SocketChannelConfigDefaultSocketChannelConfig. setMaxMessagesPerRead(int maxMessagesPerRead)Deprecated.SocketChannelConfigSocketChannelConfig. setMaxMessagesPerRead(int maxMessagesPerRead)Deprecated.SocketChannelConfigDefaultSocketChannelConfig. setMessageSizeEstimator(MessageSizeEstimator estimator)SocketChannelConfigSocketChannelConfig. setMessageSizeEstimator(MessageSizeEstimator estimator)SocketChannelConfigDefaultSocketChannelConfig. setPerformancePreferences(int connectionTime, int latency, int bandwidth)SocketChannelConfigSocketChannelConfig. setPerformancePreferences(int connectionTime, int latency, int bandwidth)Sets the performance preferences as specified inSocket.setPerformancePreferences(int, int, int).SocketChannelConfigDefaultSocketChannelConfig. setReceiveBufferSize(int receiveBufferSize)SocketChannelConfigSocketChannelConfig. setReceiveBufferSize(int receiveBufferSize)Sets theStandardSocketOptions.SO_RCVBUFoption.SocketChannelConfigDefaultSocketChannelConfig. setRecvByteBufAllocator(RecvByteBufAllocator allocator)SocketChannelConfigSocketChannelConfig. setRecvByteBufAllocator(RecvByteBufAllocator allocator)SocketChannelConfigDefaultSocketChannelConfig. setReuseAddress(boolean reuseAddress)SocketChannelConfigSocketChannelConfig. setReuseAddress(boolean reuseAddress)Sets theStandardSocketOptions.SO_REUSEADDRoption.SocketChannelConfigDefaultSocketChannelConfig. setSendBufferSize(int sendBufferSize)SocketChannelConfigSocketChannelConfig. setSendBufferSize(int sendBufferSize)Sets theStandardSocketOptions.SO_SNDBUFoption.SocketChannelConfigDefaultSocketChannelConfig. setSoLinger(int soLinger)SocketChannelConfigSocketChannelConfig. setSoLinger(int soLinger)Sets theStandardSocketOptions.SO_LINGERoption.SocketChannelConfigDefaultSocketChannelConfig. setTcpNoDelay(boolean tcpNoDelay)SocketChannelConfigSocketChannelConfig. setTcpNoDelay(boolean tcpNoDelay)Sets theStandardSocketOptions.TCP_NODELAYoption.SocketChannelConfigDefaultSocketChannelConfig. setTrafficClass(int trafficClass)SocketChannelConfigSocketChannelConfig. setTrafficClass(int trafficClass)Sets theStandardSocketOptions.IP_TOSoption.SocketChannelConfigDefaultSocketChannelConfig. setWriteBufferHighWaterMark(int writeBufferHighWaterMark)SocketChannelConfigDefaultSocketChannelConfig. setWriteBufferLowWaterMark(int writeBufferLowWaterMark)SocketChannelConfigDefaultSocketChannelConfig. setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark)SocketChannelConfigSocketChannelConfig. setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark)SocketChannelConfigDefaultSocketChannelConfig. setWriteSpinCount(int writeSpinCount)SocketChannelConfigSocketChannelConfig. setWriteSpinCount(int writeSpinCount) -
Uses of SocketChannelConfig in io.netty.channel.socket.nio
Methods in io.netty.channel.socket.nio that return SocketChannelConfig Modifier and Type Method Description SocketChannelConfigNioSocketChannel. config() -
Uses of SocketChannelConfig in io.netty.channel.socket.oio
Subinterfaces of SocketChannelConfig in io.netty.channel.socket.oio Modifier and Type Interface Description interfaceOioSocketChannelConfigDeprecated.use NIO / EPOLL / KQUEUE transport.Classes in io.netty.channel.socket.oio that implement SocketChannelConfig Modifier and Type Class Description classDefaultOioSocketChannelConfigDeprecated.use NIO / EPOLL / KQUEUE transport.
-