软件包 | 描述 |
---|---|
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 |
DefaultSctpServerChannelConfig
SCTP的默认 SctpServerChannelConfig 实现。
|
Modifier and Type | Method and Description |
---|---|
SctpServerChannelConfig |
SctpServerChannel.config()
返回通道的 SctpServerChannelConfig 配置。
|
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)
设置积压值以指定通道绑定到本地地址的时间。
|
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)
获取
SCTP_INIT_MAXSTREAMS 选项。
|
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)
获取
SO_RCVBUF 选项。
|
SctpServerChannelConfig |
DefaultSctpServerChannelConfig.setReceiveBufferSize(int receiveBufferSize) |
SctpServerChannelConfig |
SctpServerChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
SctpServerChannelConfig |
DefaultSctpServerChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
SctpServerChannelConfig |
SctpServerChannelConfig.setSendBufferSize(int sendBufferSize)
设置
SO_SNDBUF 选项。
|
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.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
SctpServerChannelConfig |
DefaultSctpServerChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
SctpServerChannelConfig |
SctpServerChannelConfig.setWriteSpinCount(int writeSpinCount) |
SctpServerChannelConfig |
DefaultSctpServerChannelConfig.setWriteSpinCount(int writeSpinCount) |
Modifier and Type | Method and Description |
---|---|
SctpServerChannelConfig |
NioSctpServerChannel.config() |
Modifier and Type | Method and Description |
---|---|
SctpServerChannelConfig |
OioSctpServerChannel.config() |
Copyright © 2008–2018 The Netty Project. All rights reserved.