| Modifier and Type | Class and Description |
|---|---|
| public static class | SctpStandardSocketOptions.
This class is used to set the maximum number of inbound/outbound streams used by the local endpoint during association initialization. |
| Modifier and Type | Field and Description |
|---|---|
| public static final SctpSocketOption | SCTP_DISABLE_FRAGMENTS
Enables or disables message fragmentation. |
| public static final SctpSocketOption | SCTP_EXPLICIT_COMPLETE
Enables or disables explicit message completion. |
| public static final SctpSocketOption | SCTP_FRAGMENT_INTERLEAVE
Fragmented interleave controls how the presentation of messages occur for the message receiver. |
| public static final SctpSocketOption | SCTP_INIT_MAXSTREAMS
The maximum number of streams requested by the local endpoint during association initialization. |
| public static final SctpSocketOption | SCTP_NODELAY
Enables or disables a Nagle-like algorithm. |
| public static final SctpSocketOption | SCTP_PRIMARY_ADDR
Requests that the local SCTP stack use the given peer address as the association primary. |
| public static final SctpSocketOption | SCTP_SET_PEER_PRIMARY_ADDR
Requests that the peer mark the enclosed address as the association primary. |
| public static final SctpSocketOption | SO_LINGER
Linger on close if data is present. |
| public static final SctpSocketOption | SO_RCVBUF
The size of the socket receive buffer. |
| public static final SctpSocketOption | SO_SNDBUF
The size of the socket send buffer. |
| Access | Constructor and Description |
|---|---|
| private |
| SCTP_DISABLE_FRAGMENTS | back to summary |
|---|---|
| public static final SctpSocketOption<Boolean> SCTP_DISABLE_FRAGMENTS Enables or disables message fragmentation. The value of this socket option is a It is implementation specific whether or not this option is supported. | |
| SCTP_EXPLICIT_COMPLETE | back to summary |
|---|---|
| public static final SctpSocketOption<Boolean> SCTP_EXPLICIT_COMPLETE Enables or disables explicit message completion. The value of this socket option is a The default value of the option is | |
| SCTP_FRAGMENT_INTERLEAVE | back to summary |
|---|---|
| public static final SctpSocketOption<Integer> SCTP_FRAGMENT_INTERLEAVE Fragmented interleave controls how the presentation of messages occur
for the message receiver. There are three levels of fragment interleave
defined. Two of the levels effect This option takes an Setting the three levels provides the following receiver interactions: It is implementation specific whether or not this option is supported. | |
| SCTP_INIT_MAXSTREAMS | back to summary |
|---|---|
| public static final SctpSocketOption<SctpStandardSocketOptions. The maximum number of streams requested by the local endpoint during association initialization. The value of this socket option is an For an For an For an In all cases the value set by this option is used in the negotiation
of new associations setup on the channel's socket and the actual
maximum number of inbound/outbound streams that have been negotiated
with the peer can be retrieved from the appropriate This value is bounded by the actual implementation. In other words the user may be able to support more streams than the Operating System. In such a case, the Operating System limit may override the value requested by the user. The default value of 0 indicates to use the endpoints default value. | |
| SCTP_NODELAY | back to summary |
|---|---|
| public static final SctpSocketOption<Boolean> SCTP_NODELAY Enables or disables a Nagle-like algorithm. The value of this socket option is a | |
| SCTP_PRIMARY_ADDR | back to summary |
|---|---|
| public static final SctpSocketOption<SocketAddress> SCTP_PRIMARY_ADDR Requests that the local SCTP stack use the given peer address as the association primary. The value of this socket option is a An Since | |
| SCTP_SET_PEER_PRIMARY_ADDR | back to summary |
|---|---|
| public static final SctpSocketOption<SocketAddress> SCTP_SET_PEER_PRIMARY_ADDR Requests that the peer mark the enclosed address as the association primary. The value of this socket option is a An Since Note, this is a set only option and cannot be retrieved by | |
| SO_LINGER | back to summary |
|---|---|
| public static final SctpSocketOption<Integer> SO_LINGER Linger on close if data is present. The value of this socket option is an This socket option is intended for use with sockets that are configured
in The initial value of this socket option is a negative value, meaning that the option is disabled. The option may be enabled, or the linger interval changed, at any time. The maximum value of the linger interval is system dependent. Setting the linger interval to a value that is greater than its maximum value causes the linger interval to be set to its maximum value. | |
| SO_RCVBUF | back to summary |
|---|---|
| public static final SctpSocketOption<Integer> SO_RCVBUF The size of the socket receive buffer. The value of this socket option is an For For An implementation allows this socket option to be set before the socket is bound or connected. Whether an implementation allows the socket receive buffer to be changed after the socket is bound is system dependent. | |
| SO_SNDBUF | back to summary |
|---|---|
| public static final SctpSocketOption<Integer> SO_SNDBUF The size of the socket send buffer. The value of this socket option is an For For An implementation allows this socket option to be set before the socket is bound or connected. Whether an implementation allows the socket send buffer to be changed after the socket is bound is system dependent. | |
| SctpStandardSocketOptions | back to summary |
|---|---|
| private SctpStandardSocketOptions() | |
SCTP_INIT_MAXSTREAMS
socket option.
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static SctpStandardSocketOptions. | Returns: AnInitMaxStreams instanceThe maximum number of inbound streams, where
maxInStreams, int 0 <= maxInStreams <= 65536The maximum number of outbound streams, where
maxOutStreams)0 <= maxOutStreams <= 65536Creates an InitMaxStreams instance. |
| public boolean | Returns: true if the specified object is anotherInitMaxStreams instance with the same number of in
and out bound streamsThe object to be compared with this init max streams obj)Overrides java. Returns true if the specified object is another |
| public int | |
| public int | |
| public int | |
| public String | Returns: A string representation of this init max streamsOverrides java. Returns a string representation of this init max streams, including the maximum in and out bound streams. |
| maxInStreams | back to summary |
|---|---|
| private final int maxInStreams | |
| maxOutStreams | back to summary |
|---|---|
| private final int maxOutStreams | |
| InitMaxStreams | back to summary |
|---|---|
| private InitMaxStreams(int maxInStreams, int maxOutStreams) | |
| create | back to summary |
|---|---|
| public static SctpStandardSocketOptions. Creates an InitMaxStreams instance.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Returns true if the specified object is another | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Returns a hash code value for this init max streams.
| |
| maxInStreams | back to summary |
|---|---|
| public int maxInStreams() Returns the maximum number of inbound streams.
| |
| maxOutStreams | back to summary |
|---|---|
| public int maxOutStreams() Returns the maximum number of outbound streams.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns a string representation of this init max streams, including the maximum in and out bound streams. | |