程序包 | 说明 |
---|---|
io.netty.channel.sctp |
Abstract SCTP socket interfaces which extend the core channel API.
|
io.netty.channel.sctp.nio |
NIO-based SCTP Channel
API implementation - recommended for a large number of connections (>= 1000).
|
io.netty.channel.sctp.oio |
Old blocking I/O based SCTP channel API implementation - recommended for
a small number of connections (< 1000).
|
限定符和类型 | 类和说明 |
---|---|
class |
DefaultSctpServerChannelConfig
The default
SctpServerChannelConfig implementation for SCTP. |
限定符和类型 | 方法和说明 |
---|---|
SctpServerChannelConfig |
SctpServerChannel.config()
Returns the
SctpServerChannelConfig configuration of the channel. |
SctpServerChannelConfig |
SctpServerChannelConfig.setAllocator(ByteBufAllocator allocator) |
SctpServerChannelConfig |
DefaultSctpServerChannelConfig.setAllocator(ByteBufAllocator allocator) |
SctpServerChannelConfig |
SctpServerChannelConfig.setAutoClose(boolean autoClose) |
SctpServerChannelConfig |
DefaultSctpServerChannelConfig.setAutoClose(boolean autoClose) |
SctpServerChannelConfig |
SctpServerChannelConfig.setAutoRead(boolean autoRead) |
SctpServerChannelConfig |
DefaultSctpServerChannelConfig.setAutoRead(boolean autoRead) |
SctpServerChannelConfig |
SctpServerChannelConfig.setBacklog(int backlog)
Sets the backlog value to specify when the channel binds to a local address.
|
SctpServerChannelConfig |
DefaultSctpServerChannelConfig.setBacklog(int backlog) |
SctpServerChannelConfig |
SctpServerChannelConfig.setConnectTimeoutMillis(int connectTimeoutMillis) |
SctpServerChannelConfig |
DefaultSctpServerChannelConfig.setConnectTimeoutMillis(int connectTimeoutMillis) |
SctpServerChannelConfig |
SctpServerChannelConfig.setInitMaxStreams(com.sun.nio.sctp.SctpStandardSocketOptions.InitMaxStreams initMaxStreams)
Gets the
SCTP_INIT_MAXSTREAMS option. |
SctpServerChannelConfig |
DefaultSctpServerChannelConfig.setInitMaxStreams(com.sun.nio.sctp.SctpStandardSocketOptions.InitMaxStreams initMaxStreams) |
SctpServerChannelConfig |
SctpServerChannelConfig.setMaxMessagesPerRead(int maxMessagesPerRead) |
SctpServerChannelConfig |
DefaultSctpServerChannelConfig.setMaxMessagesPerRead(int maxMessagesPerRead) |
SctpServerChannelConfig |
SctpServerChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
SctpServerChannelConfig |
DefaultSctpServerChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
SctpServerChannelConfig |
SctpServerChannelConfig.setReceiveBufferSize(int receiveBufferSize)
Gets the
SO_RCVBUF option. |
SctpServerChannelConfig |
DefaultSctpServerChannelConfig.setReceiveBufferSize(int receiveBufferSize) |
SctpServerChannelConfig |
SctpServerChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
SctpServerChannelConfig |
DefaultSctpServerChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
SctpServerChannelConfig |
SctpServerChannelConfig.setSendBufferSize(int sendBufferSize)
Sets the
SO_SNDBUF option. |
SctpServerChannelConfig |
DefaultSctpServerChannelConfig.setSendBufferSize(int sendBufferSize) |
SctpServerChannelConfig |
SctpServerChannelConfig.setWriteBufferHighWaterMark(int writeBufferHighWaterMark) |
SctpServerChannelConfig |
DefaultSctpServerChannelConfig.setWriteBufferHighWaterMark(int writeBufferHighWaterMark) |
SctpServerChannelConfig |
SctpServerChannelConfig.setWriteBufferLowWaterMark(int writeBufferLowWaterMark) |
SctpServerChannelConfig |
DefaultSctpServerChannelConfig.setWriteBufferLowWaterMark(int writeBufferLowWaterMark) |
SctpServerChannelConfig |
SctpServerChannelConfig.setWriteSpinCount(int writeSpinCount) |
SctpServerChannelConfig |
DefaultSctpServerChannelConfig.setWriteSpinCount(int writeSpinCount) |
限定符和类型 | 方法和说明 |
---|---|
SctpServerChannelConfig |
NioSctpServerChannel.config() |
限定符和类型 | 方法和说明 |
---|---|
SctpServerChannelConfig |
OioSctpServerChannel.config() |