public interface SctpChannelConfig
extends io.netty.channel.ChannelConfig
ChannelConfig for a SctpChannel.
ChannelConfig,
SctpChannelConfig allows the following options in the option map:
| Name | Associated setter method |
|---|---|
ChannelOption.SO_RCVBUF | setReceiveBufferSize(int) |
ChannelOption.SO_SNDBUF | setSendBufferSize(int) |
SctpChannelOption.SCTP_NODELAY | setSctpNoDelay(boolean)} |
SctpChannelOption.SCTP_INIT_MAXSTREAMS | #setInitMaxStreams(InitMaxStreams) |
getAllocator, getConnectTimeoutMillis, getMaxMessagesPerRead, getMessageSizeEstimator, getOption, getOptions, getRecvByteBufAllocator, getWriteBufferHighWaterMark, getWriteBufferLowWaterMark, getWriteBufferWaterMark, getWriteSpinCount, isAutoClose, isAutoRead, setOption, setOptionsboolean isSctpNoDelay()
SCTP_NODELAY option. Please note that the default value of this option is true unlike the
operating system default (false). However, for some buggy platforms, such as Android, that shows erratic
behavior with Nagle's algorithm disabled, the default value remains to be false.SctpChannelConfig setSctpNoDelay(boolean sctpNoDelay)
SCTP_NODELAY option. Please note that the default value of this option is true unlike the
operating system default (false). However, for some buggy platforms, such as Android, that shows erratic
behavior with Nagle's algorithm disabled, the default value remains to be false.int getSendBufferSize()
SO_SNDBUF option.SctpChannelConfig setSendBufferSize(int sendBufferSize)
SO_SNDBUF option.int getReceiveBufferSize()
SO_RCVBUF option.SctpChannelConfig setReceiveBufferSize(int receiveBufferSize)
SO_RCVBUF option.SctpStandardSocketOptions.InitMaxStreams getInitMaxStreams()
SCTP_INIT_MAXSTREAMS option.SctpChannelConfig setInitMaxStreams(SctpStandardSocketOptions.InitMaxStreams initMaxStreams)
SCTP_INIT_MAXSTREAMS option.SctpChannelConfig setConnectTimeoutMillis(int connectTimeoutMillis)
setConnectTimeoutMillis in interface io.netty.channel.ChannelConfig@Deprecated SctpChannelConfig setMaxMessagesPerRead(int maxMessagesPerRead)
setMaxMessagesPerRead in interface io.netty.channel.ChannelConfigSctpChannelConfig setWriteSpinCount(int writeSpinCount)
setWriteSpinCount in interface io.netty.channel.ChannelConfigSctpChannelConfig setAllocator(io.netty.buffer.ByteBufAllocator allocator)
setAllocator in interface io.netty.channel.ChannelConfigSctpChannelConfig setRecvByteBufAllocator(io.netty.channel.RecvByteBufAllocator allocator)
setRecvByteBufAllocator in interface io.netty.channel.ChannelConfigSctpChannelConfig setAutoRead(boolean autoRead)
setAutoRead in interface io.netty.channel.ChannelConfigSctpChannelConfig setAutoClose(boolean autoClose)
setAutoClose in interface io.netty.channel.ChannelConfigSctpChannelConfig setWriteBufferHighWaterMark(int writeBufferHighWaterMark)
setWriteBufferHighWaterMark in interface io.netty.channel.ChannelConfigSctpChannelConfig setWriteBufferLowWaterMark(int writeBufferLowWaterMark)
setWriteBufferLowWaterMark in interface io.netty.channel.ChannelConfigSctpChannelConfig setWriteBufferWaterMark(io.netty.channel.WriteBufferWaterMark writeBufferWaterMark)
setWriteBufferWaterMark in interface io.netty.channel.ChannelConfigSctpChannelConfig setMessageSizeEstimator(io.netty.channel.MessageSizeEstimator estimator)
setMessageSizeEstimator in interface io.netty.channel.ChannelConfigCopyright © 2008–2025 The Netty Project. All rights reserved.