src/share/classes/com/sun/nio/sctp/SctpStandardSocketOptions.java

Print this page

        

*** 23,33 **** * questions. */ package com.sun.nio.sctp; import java.net.SocketAddress; ! import sun.nio.ch.SctpStdSocketOption; /** * SCTP channels supports the socket options defined by this class * (as well as those listed in the particular channel class) and may support * additional Implementation specific socket options. --- 23,33 ---- * questions. */ package com.sun.nio.sctp; import java.net.SocketAddress; ! import sun.nio.ch.sctp.SctpStdSocketOption; /** * SCTP channels supports the socket options defined by this class * (as well as those listed in the particular channel class) and may support * additional Implementation specific socket options.
*** 48,58 **** * <P> It is implementation specific whether or not this option is * supported. */ public static final SctpSocketOption<Boolean> SCTP_DISABLE_FRAGMENTS = new SctpStdSocketOption<Boolean>("SCTP_DISABLE_FRAGMENTS", Boolean.class, ! sun.nio.ch.SctpStdSocketOption.SCTP_DISABLE_FRAGMENTS); /** * Enables or disables explicit message completion. * * <p> The value of this socket option is a {@code Boolean} that represents --- 48,58 ---- * <P> It is implementation specific whether or not this option is * supported. */ public static final SctpSocketOption<Boolean> SCTP_DISABLE_FRAGMENTS = new SctpStdSocketOption<Boolean>("SCTP_DISABLE_FRAGMENTS", Boolean.class, ! sun.nio.ch.sctp.SctpStdSocketOption.SCTP_DISABLE_FRAGMENTS); /** * Enables or disables explicit message completion. * * <p> The value of this socket option is a {@code Boolean} that represents
*** 67,77 **** * option is disabled. It is implementation specific whether or not this * option is supported. */ public static final SctpSocketOption<Boolean> SCTP_EXPLICIT_COMPLETE = new SctpStdSocketOption<Boolean>("SCTP_EXPLICIT_COMPLETE", Boolean.class, ! sun.nio.ch.SctpStdSocketOption.SCTP_EXPLICIT_COMPLETE); /** * 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 {@link SctpChannel}, while --- 67,77 ---- * option is disabled. It is implementation specific whether or not this * option is supported. */ public static final SctpSocketOption<Boolean> SCTP_EXPLICIT_COMPLETE = new SctpStdSocketOption<Boolean>("SCTP_EXPLICIT_COMPLETE", Boolean.class, ! sun.nio.ch.sctp.SctpStdSocketOption.SCTP_EXPLICIT_COMPLETE); /** * 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 {@link SctpChannel}, while
*** 118,128 **** * supported. */ public static final SctpSocketOption<Integer> SCTP_FRAGMENT_INTERLEAVE = new SctpStdSocketOption<Integer>("SCTP_FRAGMENT_INTERLEAVE", Integer.class, ! sun.nio.ch.SctpStdSocketOption.SCTP_FRAGMENT_INTERLEAVE); /** * The maximum number of streams requested by the local endpoint during * association initialization. * --- 118,128 ---- * supported. */ public static final SctpSocketOption<Integer> SCTP_FRAGMENT_INTERLEAVE = new SctpStdSocketOption<Integer>("SCTP_FRAGMENT_INTERLEAVE", Integer.class, ! sun.nio.ch.sctp.SctpStdSocketOption.SCTP_FRAGMENT_INTERLEAVE); /** * The maximum number of streams requested by the local endpoint during * association initialization. *
*** 169,179 **** * <em>The Nagle Algorithm</em> to coalesce short segments and * improve network efficiency. */ public static final SctpSocketOption<Boolean> SCTP_NODELAY = new SctpStdSocketOption<Boolean>("SCTP_NODELAY", Boolean.class, ! sun.nio.ch.SctpStdSocketOption.SCTP_NODELAY); /** * Requests that the local SCTP stack use the given peer address as * the association primary. * --- 169,179 ---- * <em>The Nagle Algorithm</em> to coalesce short segments and * improve network efficiency. */ public static final SctpSocketOption<Boolean> SCTP_NODELAY = new SctpStdSocketOption<Boolean>("SCTP_NODELAY", Boolean.class, ! sun.nio.ch.sctp.SctpStdSocketOption.SCTP_NODELAY); /** * Requests that the local SCTP stack use the given peer address as * the association primary. *
*** 244,254 **** * socket send buffer to be changed after the socket is bound is system * dependent. */ public static final SctpSocketOption<Integer> SO_SNDBUF = new SctpStdSocketOption<Integer>("SO_SNDBUF", Integer.class, ! sun.nio.ch.SctpStdSocketOption.SO_SNDBUF); /** * The size of the socket receive buffer. * * <P> The value of this socket option is an {@code Integer} that is the --- 244,254 ---- * socket send buffer to be changed after the socket is bound is system * dependent. */ public static final SctpSocketOption<Integer> SO_SNDBUF = new SctpStdSocketOption<Integer>("SO_SNDBUF", Integer.class, ! sun.nio.ch.sctp.SctpStdSocketOption.SO_SNDBUF); /** * The size of the socket receive buffer. * * <P> The value of this socket option is an {@code Integer} that is the
*** 271,281 **** * socket receive buffer to be changed after the socket is bound is system * dependent. */ public static final SctpSocketOption<Integer> SO_RCVBUF = new SctpStdSocketOption<Integer>("SO_RCVBUF", Integer.class, ! sun.nio.ch.SctpStdSocketOption.SO_RCVBUF); /** * Linger on close if data is present. * * <p> The value of this socket option is an {@code Integer} that controls --- 271,281 ---- * socket receive buffer to be changed after the socket is bound is system * dependent. */ public static final SctpSocketOption<Integer> SO_RCVBUF = new SctpStdSocketOption<Integer>("SO_RCVBUF", Integer.class, ! sun.nio.ch.sctp.SctpStdSocketOption.SO_RCVBUF); /** * Linger on close if data is present. * * <p> The value of this socket option is an {@code Integer} that controls
*** 302,312 **** * greater than its maximum value causes the linger interval to be set to * its maximum value. */ public static final SctpSocketOption<Integer> SO_LINGER = new SctpStdSocketOption<Integer>("SO_LINGER", Integer.class, ! sun.nio.ch.SctpStdSocketOption.SO_LINGER); /** * This class is used to set the maximum number of inbound/outbound streams * used by the local endpoint during association initialization. An * instance of this class is used to set the {@link --- 302,312 ---- * greater than its maximum value causes the linger interval to be set to * its maximum value. */ public static final SctpSocketOption<Integer> SO_LINGER = new SctpStdSocketOption<Integer>("SO_LINGER", Integer.class, ! sun.nio.ch.sctp.SctpStdSocketOption.SO_LINGER); /** * This class is used to set the maximum number of inbound/outbound streams * used by the local endpoint during association initialization. An * instance of this class is used to set the {@link