APIdia Launch Partner
Top Fields Constructors Methods
sun.nio.ch.sctp

public final Class SctpStdSocketOption<T>

extends Object
implements SctpSocketOption<T>
Class Inheritance
All Implemented Interfaces
com.sun.nio.sctp.SctpSocketOption, java.net.SocketOption
Imports
com.sun.nio.sctp.SctpSocketOption, java.lang.annotation.Native

Field Summary

Modifier and TypeField and Description
private final int
private final String
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
private final Class<T>

Constructor Summary

AccessConstructor and Description
public
public
SctpStdSocketOption(String name, Class<T> type, int constValue)

Method Summary

Modifier and TypeMethod and Description
pack-priv int
public String
name()

Implements java.net.SocketOption.name.

Returns the name of the socket option.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

public Class<T>
type()

Implements java.net.SocketOption.type.

Returns the type of the socket option value.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

constValueback to summary
private final int constValue
nameback to summary
private final String name
SCTP_DISABLE_FRAGMENTSback to summary
public static final int SCTP_DISABLE_FRAGMENTS
Annotations
@Native
SCTP_EXPLICIT_COMPLETEback to summary
public static final int SCTP_EXPLICIT_COMPLETE
Annotations
@Native
SCTP_FRAGMENT_INTERLEAVEback to summary
public static final int SCTP_FRAGMENT_INTERLEAVE
Annotations
@Native
SCTP_NODELAYback to summary
public static final int SCTP_NODELAY
Annotations
@Native
SO_LINGERback to summary
public static final int SO_LINGER
Annotations
@Native
SO_RCVBUFback to summary
public static final int SO_RCVBUF
Annotations
@Native
SO_SNDBUFback to summary
public static final int SO_SNDBUF
Annotations
@Native
typeback to summary
private final Class<T> type

Constructor Detail

SctpStdSocketOptionback to summary
public SctpStdSocketOption(String name, Class<T> type)
SctpStdSocketOptionback to summary
public SctpStdSocketOption(String name, Class<T> type, int constValue)

Method Detail

constValueback to summary
pack-priv int constValue()
nameback to summary
public String name()

Implements java.net.SocketOption.name.

Doc from java.net.SocketOption.name.

Returns the name of the socket option.

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override
typeback to summary
public Class<T> type()

Implements java.net.SocketOption.type.

Doc from java.net.SocketOption.type.

Returns the type of the socket option value.

Annotations
@Override