# 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 final SctpSocketOption<Boolean>`
SctpStandardSocketOptions.`SCTP_DISABLE_FRAGMENTS`
Enables or disables message fragmentation.
`static final SctpSocketOption<Boolean>`
SctpStandardSocketOptions.`SCTP_EXPLICIT_COMPLETE`
Enables or disables explicit message completion.
`static final SctpSocketOption<Integer>`
SctpStandardSocketOptions.`SCTP_FRAGMENT_INTERLEAVE`
Fragmented interleave controls how the presentation of messages occur for the message receiver.
`static final SctpSocketOption<SctpStandardSocketOptions.InitMaxStreams>`
SctpStandardSocketOptions.`SCTP_INIT_MAXSTREAMS`
The maximum number of streams requested by the local endpoint during association initialization.
`static final SctpSocketOption<Boolean>`
SctpStandardSocketOptions.`SCTP_NODELAY`
Enables or disables a Nagle-like algorithm.
`static final SctpSocketOption<SocketAddress>`
SctpStandardSocketOptions.`SCTP_PRIMARY_ADDR`
Requests that the local SCTP stack use the given peer address as the association primary.
`static final SctpSocketOption<SocketAddress>`
SctpStandardSocketOptions.`SCTP_SET_PEER_PRIMARY_ADDR`
Requests that the peer mark the enclosed address as the association primary.
`static final SctpSocketOption<Integer>`
SctpStandardSocketOptions.`SO_LINGER`
Linger on close if data is present.
`static final SctpSocketOption<Integer>`
SctpStandardSocketOptions.`SO_RCVBUF`
The size of the socket receive buffer.
`static final 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.