public interface SctpChannelConfig extends ChannelConfig
ChannelConfig for a SctpChannel.
ChannelConfig,
SctpChannelConfig allows the following options in the option map:
| Name | Associated setter method |
|---|---|
"sctpNoDelay" | setSctpNoDelay(boolean)} |
"receiveBufferSize" | setReceiveBufferSize(int) |
"sendBufferSize" | setSendBufferSize(int) |
"sctpInitMaxStreams" |
setInitMaxStreams(com.sun.nio.sctp.SctpStandardSocketOptions.InitMaxStreams) |
| Modifier and Type | Method and Description |
|---|---|
SctpStandardSocketOptions.InitMaxStreams |
getInitMaxStreams()
Gets the
SCTP_INIT_MAXSTREAMS option. |
int |
getReceiveBufferSize()
Gets the
SO_RCVBUF option. |
int |
getSendBufferSize()
Gets the
SO_SNDBUF option. |
boolean |
isSctpNoDelay()
Gets the
SCTP_NODELAY option. |
void |
setInitMaxStreams(SctpStandardSocketOptions.InitMaxStreams initMaxStreams)
Gets the
SCTP_INIT_MAXSTREAMS option. |
void |
setReceiveBufferSize(int receiveBufferSize)
Gets the
SO_RCVBUF option. |
void |
setSctpNoDelay(boolean sctpNoDelay)
Sets the
SCTP_NODELAY option. |
void |
setSendBufferSize(int sendBufferSize)
Sets the
SO_SNDBUF option. |
getConnectTimeoutMillis, getOption, getOptions, getWriteSpinCount, setConnectTimeoutMillis, setOption, setOptions, setWriteSpinCountboolean isSctpNoDelay()
SCTP_NODELAY option.void setSctpNoDelay(boolean sctpNoDelay)
SCTP_NODELAY option.int getSendBufferSize()
SO_SNDBUF option.void setSendBufferSize(int sendBufferSize)
SO_SNDBUF option.int getReceiveBufferSize()
SO_RCVBUF option.void setReceiveBufferSize(int receiveBufferSize)
SO_RCVBUF option.SctpStandardSocketOptions.InitMaxStreams getInitMaxStreams()
SCTP_INIT_MAXSTREAMS option.void setInitMaxStreams(SctpStandardSocketOptions.InitMaxStreams initMaxStreams)
SCTP_INIT_MAXSTREAMS option.Copyright © 2008-2012 The Netty Project. All Rights Reserved.