## Uses of Interface
com.sun.nio.sctp.SctpSocketOption

- Packages that use SctpSocketOption
  Package | Description
  --- | ---
  com.sun.nio.sctp | A Java API for Stream Control Transport Protocol.

- - ### Uses of SctpSocketOption in com.sun.nio.sctp

    Fields in com.sun.nio.sctp declared as SctpSocketOption
    Modifier and Type | Field | Description
    --- | --- | ---
    `static SctpSocketOption<Boolean>` | SctpStandardSocketOptions.`SCTP_DISABLE_FRAGMENTS` | Enables or disables message fragmentation.
    `static SctpSocketOption<Boolean>` | SctpStandardSocketOptions.`SCTP_EXPLICIT_COMPLETE` | Enables or disables explicit message completion.
    `static SctpSocketOption<Integer>` | SctpStandardSocketOptions.`SCTP_FRAGMENT_INTERLEAVE` | Fragmented interleave controls how the presentation of messages occur for the message receiver.
    `static SctpSocketOption<SctpStandardSocketOptions.InitMaxStreams>` | SctpStandardSocketOptions.`SCTP_INIT_MAXSTREAMS` | The maximum number of streams requested by the local endpoint during association initialization.
    `static SctpSocketOption<Boolean>` | SctpStandardSocketOptions.`SCTP_NODELAY` | Enables or disables a Nagle-like algorithm.
    `static SctpSocketOption<SocketAddress>` | SctpStandardSocketOptions.`SCTP_PRIMARY_ADDR` | Requests that the local SCTP stack use the given peer address as the association primary.
    `static SctpSocketOption<SocketAddress>` | SctpStandardSocketOptions.`SCTP_SET_PEER_PRIMARY_ADDR` | Requests that the peer mark the enclosed address as the association primary.
    `static SctpSocketOption<Integer>` | SctpStandardSocketOptions.`SO_LINGER` | Linger on close if data is present.
    `static SctpSocketOption<Integer>` | SctpStandardSocketOptions.`SO_RCVBUF` | The size of the socket receive buffer.
    `static SctpSocketOption<Integer>` | SctpStandardSocketOptions.`SO_SNDBUF` | The size of the socket send buffer.

    Methods in com.sun.nio.sctp that return types with arguments of type SctpSocketOption
    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract Set<SctpSocketOption<?>>` | SctpChannel.`supportedOptions​()` | Returns a set of the socket options supported by this channel.
    `abstract Set<SctpSocketOption<?>>` | SctpMultiChannel.`supportedOptions​()` | Returns a set of the socket options supported by this channel.
    `abstract Set<SctpSocketOption<?>>` | SctpServerChannel.`supportedOptions​()` | Returns a set of the socket options supported by this channel.

    Methods in com.sun.nio.sctp with parameters of type SctpSocketOption
    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract <T> T` | SctpChannel.`getOption​(SctpSocketOption<T> name)` | Returns the value of a socket option.
    `abstract <T> T` | SctpMultiChannel.`getOption​(SctpSocketOption<T> name, Association association)` | Returns the value of a socket option.
    `abstract <T> T` | SctpServerChannel.`getOption​(SctpSocketOption<T> name)` | Returns the value of a socket option.
    `abstract <T> SctpChannel` | SctpChannel.`setOption​(SctpSocketOption<T> name, T value)` | Sets the value of a socket option.
    `abstract <T> SctpMultiChannel` | SctpMultiChannel.`setOption​(SctpSocketOption<T> name, T value, Association association)` | Sets the value of a socket option.
    `abstract <T> SctpServerChannel` | SctpServerChannel.`setOption​(SctpSocketOption<T> name, T value)` | Sets the value of a socket option.