软件包 | 描述 |
---|---|
io.netty.channel.sctp |
抽象扩展核心通道API的SCTP套接字接口。
|
io.netty.channel.sctp.nio |
基于
NIO的SCTP通道API实现 - 推荐用于大量连接(> = 1000)。
|
io.netty.channel.sctp.oio |
旧的阻止基于I / O的SCTP通道API实现 - 建议用于少量连接(<1000)。
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultSctpChannelConfig
SCTP的默认实现 SctpChannelConfig 。
|
Modifier and Type | Method and Description |
---|---|
SctpChannelConfig |
SctpChannel.config()
返回通道的 SctpChannelConfig 配置。
|
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(com.sun.nio.sctp.SctpStandardSocketOptions.InitMaxStreams initMaxStreams)
获取
SCTP_INIT_MAXSTREAMS 选项。
|
SctpChannelConfig |
DefaultSctpChannelConfig.setInitMaxStreams(com.sun.nio.sctp.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)
获取
SO_RCVBUF 选项。
|
SctpChannelConfig |
DefaultSctpChannelConfig.setReceiveBufferSize(int receiveBufferSize) |
SctpChannelConfig |
SctpChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
SctpChannelConfig |
DefaultSctpChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
SctpChannelConfig |
SctpChannelConfig.setSctpNoDelay(boolean sctpNoDelay)
设置
SCTP_NODELAY 选项。
|
SctpChannelConfig |
DefaultSctpChannelConfig.setSctpNoDelay(boolean sctpNoDelay) |
SctpChannelConfig |
SctpChannelConfig.setSendBufferSize(int sendBufferSize)
设置
SO_SNDBUF 选项。
|
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) |
Modifier and Type | Method and Description |
---|---|
SctpChannelConfig |
NioSctpChannel.config() |
Modifier and Type | Method and Description |
---|---|
SctpChannelConfig |
OioSctpChannel.config() |
Copyright © 2008–2018 The Netty Project. All rights reserved.