程序包 | 说明 |
---|---|
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 |
DefaultSctpChannelConfig
The default
SctpChannelConfig implementation for SCTP. |
限定符和类型 | 方法和说明 |
---|---|
SctpChannelConfig |
SctpChannel.config()
Returns the
SctpChannelConfig configuration of the channel. |
SctpChannelConfig |
SctpChannelConfig.setAllocator(ByteBufAllocator allocator) |
SctpChannelConfig |
DefaultSctpChannelConfig.setAllocator(ByteBufAllocator allocator) |
SctpChannelConfig |
SctpChannelConfig.setAutoClose(boolean autoClose) |
SctpChannelConfig |
DefaultSctpChannelConfig.setAutoClose(boolean autoClose) |
SctpChannelConfig |
SctpChannelConfig.setAutoRead(boolean autoRead) |
SctpChannelConfig |
DefaultSctpChannelConfig.setAutoRead(boolean autoRead) |
SctpChannelConfig |
SctpChannelConfig.setConnectTimeoutMillis(int connectTimeoutMillis) |
SctpChannelConfig |
DefaultSctpChannelConfig.setConnectTimeoutMillis(int connectTimeoutMillis) |
SctpChannelConfig |
SctpChannelConfig.setInitMaxStreams(SctpStandardSocketOptions.InitMaxStreams initMaxStreams)
Gets the
SCTP_INIT_MAXSTREAMS option. |
SctpChannelConfig |
DefaultSctpChannelConfig.setInitMaxStreams(SctpStandardSocketOptions.InitMaxStreams initMaxStreams) |
SctpChannelConfig |
SctpChannelConfig.setMaxMessagesPerRead(int maxMessagesPerRead)
已过时。
|
SctpChannelConfig |
DefaultSctpChannelConfig.setMaxMessagesPerRead(int maxMessagesPerRead)
已过时。
|
SctpChannelConfig |
SctpChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
SctpChannelConfig |
DefaultSctpChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
SctpChannelConfig |
SctpChannelConfig.setReceiveBufferSize(int receiveBufferSize)
Gets the
SO_RCVBUF option. |
SctpChannelConfig |
DefaultSctpChannelConfig.setReceiveBufferSize(int receiveBufferSize) |
SctpChannelConfig |
SctpChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
SctpChannelConfig |
DefaultSctpChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
SctpChannelConfig |
SctpChannelConfig.setSctpNoDelay(boolean sctpNoDelay)
Sets the
SCTP_NODELAY option. |
SctpChannelConfig |
DefaultSctpChannelConfig.setSctpNoDelay(boolean sctpNoDelay) |
SctpChannelConfig |
SctpChannelConfig.setSendBufferSize(int sendBufferSize)
Sets the
SO_SNDBUF option. |
SctpChannelConfig |
DefaultSctpChannelConfig.setSendBufferSize(int sendBufferSize) |
SctpChannelConfig |
SctpChannelConfig.setWriteBufferHighWaterMark(int writeBufferHighWaterMark) |
SctpChannelConfig |
DefaultSctpChannelConfig.setWriteBufferHighWaterMark(int writeBufferHighWaterMark) |
SctpChannelConfig |
SctpChannelConfig.setWriteBufferLowWaterMark(int writeBufferLowWaterMark) |
SctpChannelConfig |
DefaultSctpChannelConfig.setWriteBufferLowWaterMark(int writeBufferLowWaterMark) |
SctpChannelConfig |
SctpChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
SctpChannelConfig |
DefaultSctpChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
SctpChannelConfig |
SctpChannelConfig.setWriteSpinCount(int writeSpinCount) |
SctpChannelConfig |
DefaultSctpChannelConfig.setWriteSpinCount(int writeSpinCount) |
限定符和类型 | 方法和说明 |
---|---|
SctpChannelConfig |
NioSctpChannel.config() |
限定符和类型 | 方法和说明 |
---|---|
SctpChannelConfig |
OioSctpChannel.config()
已过时。
|