public class DefaultSctpChannelConfig extends io.netty.channel.DefaultChannelConfig implements SctpChannelConfig
SctpChannelConfig implementation for SCTP.| Constructor and Description |
|---|
DefaultSctpChannelConfig(SctpChannel channel,
SctpChannel javaChannel) |
autoReadCleared, getAllocator, getConnectTimeoutMillis, getMaxMessagesPerRead, getMaxMessagesPerWrite, getMessageSizeEstimator, getOptions, getRecvByteBufAllocator, getWriteBufferHighWaterMark, getWriteBufferLowWaterMark, getWriteBufferWaterMark, getWriteSpinCount, isAutoClose, isAutoRead, setMaxMessagesPerWrite, setOptions, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAllocator, getConnectTimeoutMillis, getMaxMessagesPerRead, getMessageSizeEstimator, getRecvByteBufAllocator, getWriteBufferHighWaterMark, getWriteBufferLowWaterMark, getWriteBufferWaterMark, getWriteSpinCount, isAutoClose, isAutoRead, setOptionspublic DefaultSctpChannelConfig(SctpChannel channel, SctpChannel javaChannel)
public Map<io.netty.channel.ChannelOption<?>,Object> getOptions()
getOptions in interface io.netty.channel.ChannelConfiggetOptions in class io.netty.channel.DefaultChannelConfigpublic <T> T getOption(io.netty.channel.ChannelOption<T> option)
getOption in interface io.netty.channel.ChannelConfiggetOption in class io.netty.channel.DefaultChannelConfigpublic <T> boolean setOption(io.netty.channel.ChannelOption<T> option,
T value)
setOption in interface io.netty.channel.ChannelConfigsetOption in class io.netty.channel.DefaultChannelConfigpublic boolean isSctpNoDelay()
SctpChannelConfigSCTP_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.isSctpNoDelay in interface SctpChannelConfigpublic SctpChannelConfig setSctpNoDelay(boolean sctpNoDelay)
SctpChannelConfigSCTP_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.setSctpNoDelay in interface SctpChannelConfigpublic int getSendBufferSize()
SctpChannelConfigSO_SNDBUF option.getSendBufferSize in interface SctpChannelConfigpublic SctpChannelConfig setSendBufferSize(int sendBufferSize)
SctpChannelConfigSO_SNDBUF option.setSendBufferSize in interface SctpChannelConfigpublic int getReceiveBufferSize()
SctpChannelConfigSO_RCVBUF option.getReceiveBufferSize in interface SctpChannelConfigpublic SctpChannelConfig setReceiveBufferSize(int receiveBufferSize)
SctpChannelConfigSO_RCVBUF option.setReceiveBufferSize in interface SctpChannelConfigpublic SctpStandardSocketOptions.InitMaxStreams getInitMaxStreams()
SctpChannelConfigSCTP_INIT_MAXSTREAMS option.getInitMaxStreams in interface SctpChannelConfigpublic SctpChannelConfig setInitMaxStreams(SctpStandardSocketOptions.InitMaxStreams initMaxStreams)
SctpChannelConfigSCTP_INIT_MAXSTREAMS option.setInitMaxStreams in interface SctpChannelConfigpublic SctpChannelConfig setConnectTimeoutMillis(int connectTimeoutMillis)
setConnectTimeoutMillis in interface io.netty.channel.ChannelConfigsetConnectTimeoutMillis in interface SctpChannelConfigsetConnectTimeoutMillis in class io.netty.channel.DefaultChannelConfig@Deprecated public SctpChannelConfig setMaxMessagesPerRead(int maxMessagesPerRead)
setMaxMessagesPerRead in interface io.netty.channel.ChannelConfigsetMaxMessagesPerRead in interface SctpChannelConfigsetMaxMessagesPerRead in class io.netty.channel.DefaultChannelConfigpublic SctpChannelConfig setWriteSpinCount(int writeSpinCount)
setWriteSpinCount in interface io.netty.channel.ChannelConfigsetWriteSpinCount in interface SctpChannelConfigsetWriteSpinCount in class io.netty.channel.DefaultChannelConfigpublic SctpChannelConfig setAllocator(io.netty.buffer.ByteBufAllocator allocator)
setAllocator in interface io.netty.channel.ChannelConfigsetAllocator in interface SctpChannelConfigsetAllocator in class io.netty.channel.DefaultChannelConfigpublic SctpChannelConfig setRecvByteBufAllocator(io.netty.channel.RecvByteBufAllocator allocator)
setRecvByteBufAllocator in interface io.netty.channel.ChannelConfigsetRecvByteBufAllocator in interface SctpChannelConfigsetRecvByteBufAllocator in class io.netty.channel.DefaultChannelConfigpublic SctpChannelConfig setAutoRead(boolean autoRead)
setAutoRead in interface io.netty.channel.ChannelConfigsetAutoRead in interface SctpChannelConfigsetAutoRead in class io.netty.channel.DefaultChannelConfigpublic SctpChannelConfig setAutoClose(boolean autoClose)
setAutoClose in interface io.netty.channel.ChannelConfigsetAutoClose in interface SctpChannelConfigsetAutoClose in class io.netty.channel.DefaultChannelConfigpublic SctpChannelConfig setWriteBufferHighWaterMark(int writeBufferHighWaterMark)
setWriteBufferHighWaterMark in interface io.netty.channel.ChannelConfigsetWriteBufferHighWaterMark in interface SctpChannelConfigsetWriteBufferHighWaterMark in class io.netty.channel.DefaultChannelConfigpublic SctpChannelConfig setWriteBufferLowWaterMark(int writeBufferLowWaterMark)
setWriteBufferLowWaterMark in interface io.netty.channel.ChannelConfigsetWriteBufferLowWaterMark in interface SctpChannelConfigsetWriteBufferLowWaterMark in class io.netty.channel.DefaultChannelConfigpublic SctpChannelConfig setWriteBufferWaterMark(io.netty.channel.WriteBufferWaterMark writeBufferWaterMark)
setWriteBufferWaterMark in interface io.netty.channel.ChannelConfigsetWriteBufferWaterMark in interface SctpChannelConfigsetWriteBufferWaterMark in class io.netty.channel.DefaultChannelConfigpublic SctpChannelConfig setMessageSizeEstimator(io.netty.channel.MessageSizeEstimator estimator)
setMessageSizeEstimator in interface io.netty.channel.ChannelConfigsetMessageSizeEstimator in interface SctpChannelConfigsetMessageSizeEstimator in class io.netty.channel.DefaultChannelConfigCopyright © 2008–2025 The Netty Project. All rights reserved.