Uses of Interface
com.sun.nio.sctp.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_FRAGMENTSEnables or disables message fragmentation.static SctpSocketOption<Boolean>SctpStandardSocketOptions. SCTP_EXPLICIT_COMPLETEEnables or disables explicit message completion.static SctpSocketOption<Integer>SctpStandardSocketOptions. SCTP_FRAGMENT_INTERLEAVEFragmented interleave controls how the presentation of messages occur for the message receiver.static SctpSocketOption<SctpStandardSocketOptions.InitMaxStreams>SctpStandardSocketOptions. SCTP_INIT_MAXSTREAMSThe maximum number of streams requested by the local endpoint during association initialization.static SctpSocketOption<Boolean>SctpStandardSocketOptions. SCTP_NODELAYEnables or disables a Nagle-like algorithm.static SctpSocketOption<SocketAddress>SctpStandardSocketOptions. SCTP_PRIMARY_ADDRRequests that the local SCTP stack use the given peer address as the association primary.static SctpSocketOption<SocketAddress>SctpStandardSocketOptions. SCTP_SET_PEER_PRIMARY_ADDRRequests that the peer mark the enclosed address as the association primary.static SctpSocketOption<Integer>SctpStandardSocketOptions. SO_LINGERLinger on close if data is present.static SctpSocketOption<Integer>SctpStandardSocketOptions. SO_RCVBUFThe size of the socket receive buffer.static SctpSocketOption<Integer>SctpStandardSocketOptions. SO_SNDBUFThe 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> TSctpChannel. getOption(SctpSocketOption<T> name)Returns the value of a socket option.abstract <T> TSctpMultiChannel. getOption(SctpSocketOption<T> name, Association association)Returns the value of a socket option.abstract <T> TSctpServerChannel. getOption(SctpSocketOption<T> name)Returns the value of a socket option.abstract <T> SctpChannelSctpChannel. setOption(SctpSocketOption<T> name, T value)Sets the value of a socket option.abstract <T> SctpMultiChannelSctpMultiChannel. setOption(SctpSocketOption<T> name, T value, Association association)Sets the value of a socket option.abstract <T> SctpServerChannelSctpServerChannel. setOption(SctpSocketOption<T> name, T value)Sets the value of a socket option.