public class DefaultSctpServerChannelConfig extends io.netty.channel.DefaultChannelConfig implements SctpServerChannelConfig
SctpServerChannelConfig implementation for SCTP.| Constructor and Description |
|---|
DefaultSctpServerChannelConfig(SctpServerChannel channel,
SctpServerChannel javaChannel)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getBacklog()
Gets the backlog value to specify when the channel binds to a local address.
|
SctpStandardSocketOptions.InitMaxStreams |
getInitMaxStreams()
Gets the
SCTP_INIT_MAXSTREAMS option. |
<T> T |
getOption(io.netty.channel.ChannelOption<T> option) |
Map<io.netty.channel.ChannelOption<?>,Object> |
getOptions() |
int |
getReceiveBufferSize()
Gets the
SO_RCVBUF option. |
int |
getSendBufferSize()
Gets the
SO_SNDBUF option. |
SctpServerChannelConfig |
setAllocator(io.netty.buffer.ByteBufAllocator allocator) |
SctpServerChannelConfig |
setAutoClose(boolean autoClose) |
SctpServerChannelConfig |
setAutoRead(boolean autoRead) |
SctpServerChannelConfig |
setBacklog(int backlog)
Sets the backlog value to specify when the channel binds to a local address.
|
SctpServerChannelConfig |
setConnectTimeoutMillis(int connectTimeoutMillis) |
SctpServerChannelConfig |
setInitMaxStreams(SctpStandardSocketOptions.InitMaxStreams initMaxStreams)
Gets the
SCTP_INIT_MAXSTREAMS option. |
SctpServerChannelConfig |
setMaxMessagesPerRead(int maxMessagesPerRead)
Deprecated.
|
SctpServerChannelConfig |
setMessageSizeEstimator(io.netty.channel.MessageSizeEstimator estimator) |
<T> boolean |
setOption(io.netty.channel.ChannelOption<T> option,
T value) |
SctpServerChannelConfig |
setReceiveBufferSize(int receiveBufferSize)
Gets the
SO_RCVBUF option. |
SctpServerChannelConfig |
setRecvByteBufAllocator(io.netty.channel.RecvByteBufAllocator allocator) |
SctpServerChannelConfig |
setSendBufferSize(int sendBufferSize)
Sets the
SO_SNDBUF option. |
SctpServerChannelConfig |
setWriteBufferHighWaterMark(int writeBufferHighWaterMark) |
SctpServerChannelConfig |
setWriteBufferLowWaterMark(int writeBufferLowWaterMark) |
SctpServerChannelConfig |
setWriteBufferWaterMark(io.netty.channel.WriteBufferWaterMark writeBufferWaterMark) |
SctpServerChannelConfig |
setWriteSpinCount(int writeSpinCount) |
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 DefaultSctpServerChannelConfig(SctpServerChannel channel, SctpServerChannel 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 int getSendBufferSize()
SctpServerChannelConfigSO_SNDBUF option.getSendBufferSize in interface SctpServerChannelConfigpublic SctpServerChannelConfig setSendBufferSize(int sendBufferSize)
SctpServerChannelConfigSO_SNDBUF option.setSendBufferSize in interface SctpServerChannelConfigpublic int getReceiveBufferSize()
SctpServerChannelConfigSO_RCVBUF option.getReceiveBufferSize in interface SctpServerChannelConfigpublic SctpServerChannelConfig setReceiveBufferSize(int receiveBufferSize)
SctpServerChannelConfigSO_RCVBUF option.setReceiveBufferSize in interface SctpServerChannelConfigpublic SctpStandardSocketOptions.InitMaxStreams getInitMaxStreams()
SctpServerChannelConfigSCTP_INIT_MAXSTREAMS option.getInitMaxStreams in interface SctpServerChannelConfigpublic SctpServerChannelConfig setInitMaxStreams(SctpStandardSocketOptions.InitMaxStreams initMaxStreams)
SctpServerChannelConfigSCTP_INIT_MAXSTREAMS option.setInitMaxStreams in interface SctpServerChannelConfigpublic int getBacklog()
SctpServerChannelConfiggetBacklog in interface SctpServerChannelConfigpublic SctpServerChannelConfig setBacklog(int backlog)
SctpServerChannelConfigsetBacklog in interface SctpServerChannelConfig@Deprecated public SctpServerChannelConfig setMaxMessagesPerRead(int maxMessagesPerRead)
setMaxMessagesPerRead in interface io.netty.channel.ChannelConfigsetMaxMessagesPerRead in interface SctpServerChannelConfigsetMaxMessagesPerRead in class io.netty.channel.DefaultChannelConfigpublic SctpServerChannelConfig setWriteSpinCount(int writeSpinCount)
setWriteSpinCount in interface io.netty.channel.ChannelConfigsetWriteSpinCount in interface SctpServerChannelConfigsetWriteSpinCount in class io.netty.channel.DefaultChannelConfigpublic SctpServerChannelConfig setConnectTimeoutMillis(int connectTimeoutMillis)
setConnectTimeoutMillis in interface io.netty.channel.ChannelConfigsetConnectTimeoutMillis in interface SctpServerChannelConfigsetConnectTimeoutMillis in class io.netty.channel.DefaultChannelConfigpublic SctpServerChannelConfig setAllocator(io.netty.buffer.ByteBufAllocator allocator)
setAllocator in interface io.netty.channel.ChannelConfigsetAllocator in interface SctpServerChannelConfigsetAllocator in class io.netty.channel.DefaultChannelConfigpublic SctpServerChannelConfig setRecvByteBufAllocator(io.netty.channel.RecvByteBufAllocator allocator)
setRecvByteBufAllocator in interface io.netty.channel.ChannelConfigsetRecvByteBufAllocator in interface SctpServerChannelConfigsetRecvByteBufAllocator in class io.netty.channel.DefaultChannelConfigpublic SctpServerChannelConfig setAutoRead(boolean autoRead)
setAutoRead in interface io.netty.channel.ChannelConfigsetAutoRead in interface SctpServerChannelConfigsetAutoRead in class io.netty.channel.DefaultChannelConfigpublic SctpServerChannelConfig setAutoClose(boolean autoClose)
setAutoClose in interface io.netty.channel.ChannelConfigsetAutoClose in interface SctpServerChannelConfigsetAutoClose in class io.netty.channel.DefaultChannelConfigpublic SctpServerChannelConfig setWriteBufferLowWaterMark(int writeBufferLowWaterMark)
setWriteBufferLowWaterMark in interface io.netty.channel.ChannelConfigsetWriteBufferLowWaterMark in interface SctpServerChannelConfigsetWriteBufferLowWaterMark in class io.netty.channel.DefaultChannelConfigpublic SctpServerChannelConfig setWriteBufferHighWaterMark(int writeBufferHighWaterMark)
setWriteBufferHighWaterMark in interface io.netty.channel.ChannelConfigsetWriteBufferHighWaterMark in interface SctpServerChannelConfigsetWriteBufferHighWaterMark in class io.netty.channel.DefaultChannelConfigpublic SctpServerChannelConfig setWriteBufferWaterMark(io.netty.channel.WriteBufferWaterMark writeBufferWaterMark)
setWriteBufferWaterMark in interface io.netty.channel.ChannelConfigsetWriteBufferWaterMark in interface SctpServerChannelConfigsetWriteBufferWaterMark in class io.netty.channel.DefaultChannelConfigpublic SctpServerChannelConfig setMessageSizeEstimator(io.netty.channel.MessageSizeEstimator estimator)
setMessageSizeEstimator in interface io.netty.channel.ChannelConfigsetMessageSizeEstimator in interface SctpServerChannelConfigsetMessageSizeEstimator in class io.netty.channel.DefaultChannelConfigCopyright © 2008–2025 The Netty Project. All rights reserved.