- AbstractNotificationHandler<T> - Class in com.sun.nio.sctp
-
A skeletal handler that consumes notifications and continues.
- AbstractNotificationHandler() - Constructor for class com.sun.nio.sctp.AbstractNotificationHandler
-
Initializes a new instance of this class.
- accept() - Method in class com.sun.nio.sctp.SctpServerChannel
-
Accepts an association on this channel's socket.
- address() - Method in class com.sun.nio.sctp.MessageInfo
-
Returns the source socket address if the message has been received,
otherwise the preferred destination of the message to be sent.
- address() - Method in class com.sun.nio.sctp.PeerAddressChangeNotification
-
Returns the peer address.
- address() - Method in class com.sun.nio.sctp.SendFailedNotification
-
Returns the address.
- Association - Class in com.sun.nio.sctp
-
A class that represents an SCTP association.
- Association(int, int, int) - Constructor for class com.sun.nio.sctp.Association
-
Initializes a new instance of this class.
- association() - Method in class com.sun.nio.sctp.AssociationChangeNotification
-
Returns the association that this notification is applicable to.
- association() - Method in class com.sun.nio.sctp.MessageInfo
-
Returns the association that the message was received on, if the message
has been received, otherwise the association that the message is to be
sent on.
- association() - Method in interface com.sun.nio.sctp.Notification
-
Returns the association that this notification is applicable to.
- association() - Method in class com.sun.nio.sctp.PeerAddressChangeNotification
-
Returns the association that this notification is applicable to.
- association() - Method in class com.sun.nio.sctp.SctpChannel
-
Returns the association on this channel's socket.
- association() - Method in class com.sun.nio.sctp.SendFailedNotification
-
Returns the association that this notification is applicable to.
- association() - Method in class com.sun.nio.sctp.ShutdownNotification
-
Returns the association that this notification is applicable to.
- AssociationChangeNotification - Class in com.sun.nio.sctp
-
Notification emitted when an association has either opened or closed.
- AssociationChangeNotification() - Constructor for class com.sun.nio.sctp.AssociationChangeNotification
-
Initializes a new instance of this class.
- AssociationChangeNotification.AssocChangeEvent - Enum in com.sun.nio.sctp
-
Defines the type of change event that happened to the association.
- associationID() - Method in class com.sun.nio.sctp.Association
-
Returns the associationID.
- associations() - Method in class com.sun.nio.sctp.SctpMultiChannel
-
Returns the open associations on this channel's socket.
- SCTP_DISABLE_FRAGMENTS - Static variable in class com.sun.nio.sctp.SctpStandardSocketOptions
-
Enables or disables message fragmentation.
- SCTP_EXPLICIT_COMPLETE - Static variable in class com.sun.nio.sctp.SctpStandardSocketOptions
-
Enables or disables explicit message completion.
- SCTP_FRAGMENT_INTERLEAVE - Static variable in class com.sun.nio.sctp.SctpStandardSocketOptions
-
Fragmented interleave controls how the presentation of messages occur
for the message receiver.
- SCTP_INIT_MAXSTREAMS - Static variable in class com.sun.nio.sctp.SctpStandardSocketOptions
-
The maximum number of streams requested by the local endpoint during
association initialization.
- SCTP_NODELAY - Static variable in class com.sun.nio.sctp.SctpStandardSocketOptions
-
Enables or disables a Nagle-like algorithm.
- SCTP_PRIMARY_ADDR - Static variable in class com.sun.nio.sctp.SctpStandardSocketOptions
-
Requests that the local SCTP stack use the given peer address as
the association primary.
- SCTP_SET_PEER_PRIMARY_ADDR - Static variable in class com.sun.nio.sctp.SctpStandardSocketOptions
-
Requests that the peer mark the enclosed address as the association
primary.
- SctpChannel - Class in com.sun.nio.sctp
-
A selectable channel for message-oriented connected SCTP sockets.
- SctpChannel(SelectorProvider) - Constructor for class com.sun.nio.sctp.SctpChannel
-
Initializes a new instance of this class.
- SctpMultiChannel - Class in com.sun.nio.sctp
-
A selectable channel for message-oriented SCTP sockets.
- SctpMultiChannel(SelectorProvider) - Constructor for class com.sun.nio.sctp.SctpMultiChannel
-
Initializes a new instance of this class.
- SctpServerChannel - Class in com.sun.nio.sctp
-
A selectable channel for message-oriented listening SCTP sockets.
- SctpServerChannel(SelectorProvider) - Constructor for class com.sun.nio.sctp.SctpServerChannel
-
Initializes a new instance of this class.
- SctpSocketOption<T> - Interface in com.sun.nio.sctp
-
A socket option associated with an SCTP channel.
- SctpStandardSocketOptions - Class in com.sun.nio.sctp
-
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.
- SctpStandardSocketOptions.InitMaxStreams - Class in com.sun.nio.sctp
-
This class is used to set the maximum number of inbound/outbound streams
used by the local endpoint during association initialization.
- send(ByteBuffer, MessageInfo) - Method in class com.sun.nio.sctp.SctpChannel
-
Sends a message via this channel.
- send(ByteBuffer, MessageInfo) - Method in class com.sun.nio.sctp.SctpMultiChannel
-
Sends a message via this channel.
- SendFailedNotification - Class in com.sun.nio.sctp
-
Notification emitted when a send failed notification has been received.
- SendFailedNotification() - Constructor for class com.sun.nio.sctp.SendFailedNotification
-
Initializes a new instance of this class.
- setOption(SctpSocketOption<T>, T) - Method in class com.sun.nio.sctp.SctpChannel
-
Sets the value of a socket option.
- setOption(SctpSocketOption<T>, T, Association) - Method in class com.sun.nio.sctp.SctpMultiChannel
-
Sets the value of a socket option.
- setOption(SctpSocketOption<T>, T) - Method in class com.sun.nio.sctp.SctpServerChannel
-
Sets the value of a socket option.
- shutdown() - Method in class com.sun.nio.sctp.SctpChannel
-
Shutdown a connection without closing the channel.
- shutdown(Association) - Method in class com.sun.nio.sctp.SctpMultiChannel
-
Shutdown an association without closing the channel.
- ShutdownNotification - Class in com.sun.nio.sctp
-
Notification emitted when a peers shutdowns an the association.
- ShutdownNotification() - Constructor for class com.sun.nio.sctp.ShutdownNotification
-
Initializes a new instance of this class.
- SO_LINGER - Static variable in class com.sun.nio.sctp.SctpStandardSocketOptions
-
Linger on close if data is present.
- SO_RCVBUF - Static variable in class com.sun.nio.sctp.SctpStandardSocketOptions
-
The size of the socket receive buffer.
- SO_SNDBUF - Static variable in class com.sun.nio.sctp.SctpStandardSocketOptions
-
The size of the socket send buffer.
- streamNumber() - Method in class com.sun.nio.sctp.MessageInfo
-
Returns the stream number that the message was received on, if the
message has been received, otherwise the stream number that the message
is to be sent on.
- streamNumber(int) - Method in class com.sun.nio.sctp.MessageInfo
-
Sets the stream number that the message is to be sent on.
- streamNumber() - Method in class com.sun.nio.sctp.SendFailedNotification
-
Returns the stream number that the messge was to be sent on.
- supportedOptions() - Method in class com.sun.nio.sctp.SctpChannel
-
Returns a set of the socket options supported by this channel.
- supportedOptions() - Method in class com.sun.nio.sctp.SctpMultiChannel
-
Returns a set of the socket options supported by this channel.
- supportedOptions() - Method in class com.sun.nio.sctp.SctpServerChannel
-
Returns a set of the socket options supported by this channel.