public interface SctpServerChannelConfig extends ChannelConfig
ChannelConfig for a SctpServerChannelConfig.
ChannelConfig,
SctpServerChannelConfig allows the following options in the
option map:
| Name | Associated setter method |
|---|---|
"backlog" | setBacklog(int) |
"receiveBufferSize" | setReceiveBufferSize(int) |
"sendBufferSize" | setSendBufferSize(int) |
"sctpInitMaxStreams" |
setInitMaxStreams(com.sun.nio.sctp.SctpStandardSocketOptions.InitMaxStreams) (int)}} |
| Modifier and Type | Method and Description |
|---|---|
int |
getBacklog()
Gets the backlog value to specify when the channel binds to a local address.
|
SctpStandardSocketOptions.InitMaxStreams |
getInitMaxStreams()
Gets the
SCTP_INIT_MAXSTREAMS option. |
int |
getReceiveBufferSize()
Gets the
SO_RCVBUF option. |
int |
getSendBufferSize()
Gets the
SO_SNDBUF option. |
void |
setBacklog(int backlog)
Sets the backlog value to specify when the channel binds to a local address.
|
void |
setInitMaxStreams(SctpStandardSocketOptions.InitMaxStreams initMaxStreams)
Gets the
SCTP_INIT_MAXSTREAMS option. |
void |
setReceiveBufferSize(int receiveBufferSize)
Gets the
SO_RCVBUF option. |
void |
setSendBufferSize(int sendBufferSize)
Sets the
SO_SNDBUF option. |
getConnectTimeoutMillis, getOption, getOptions, getWriteSpinCount, setConnectTimeoutMillis, setOption, setOptions, setWriteSpinCountint getBacklog()
void setBacklog(int backlog)
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.