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

public Class AssociationChange

extends AssociationChangeNotification
implements SctpNotification
Class Inheritance
All Implemented Interfaces
sun.nio.ch.sctp.SctpNotification, com.sun.nio.sctp.Notification
Imports
com.sun.nio.sctp.Association, .AssociationChangeNotification, java.lang.annotation.Native

An implementation of AssociationChangeNotification

Field Summary

Modifier and TypeField and Description
private Association
private final int
private final AssociationChangeNotification.AssocChangeEvent
private final int
private final int
private static final int
private static final int
private static final int
private static final int
private static final int

Constructor Summary

AccessConstructor and Description
private
AssociationChange(int assocId, int intEvent, int maxOutStreams, int maxInStreams)

Method Summary

Modifier and TypeMethod and Description
public Association
association()

Implements abstract com.sun.nio.sctp.AssociationChangeNotification.association.

Implements com.sun.nio.sctp.Notification.association.

Returns the association that this notification is applicable to.

public int
public AssociationChangeNotification.AssocChangeEvent
event()

Implements abstract com.sun.nio.sctp.AssociationChangeNotification.event.

Returns the type of change event.

pack-priv int
pack-priv int
public void
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Field Detail

associationback to summary
private Association association
assocIdback to summary
private final int assocId
eventback to summary
private final AssociationChangeNotification.AssocChangeEvent event
maxInStreamsback to summary
private final int maxInStreams
maxOutStreamsback to summary
private final int maxOutStreams
SCTP_CANT_STARTback to summary
private static final int SCTP_CANT_START
Annotations
@Native
SCTP_COMM_LOSTback to summary
private static final int SCTP_COMM_LOST
Annotations
@Native
SCTP_COMM_UPback to summary
private static final int SCTP_COMM_UP
Annotations
@Native
SCTP_RESTARTback to summary
private static final int SCTP_RESTART
Annotations
@Native
SCTP_SHUTDOWNback to summary
private static final int SCTP_SHUTDOWN
Annotations
@Native

Constructor Detail

AssociationChangeback to summary
private AssociationChange(int assocId, int intEvent, int maxOutStreams, int maxInStreams)

Method Detail

associationback to summary
public Association association()

Implements abstract com.sun.nio.sctp.AssociationChangeNotification.association.

Implements com.sun.nio.sctp.Notification.association.

Doc from com.sun.nio.sctp.Notification.association.

Returns the association that this notification is applicable to.

Annotations
@Override
assocIdback to summary
public int assocId()

Implements sun.nio.ch.sctp.SctpNotification.assocId.

Annotations
@Override
eventback to summary
public AssociationChangeNotification.AssocChangeEvent event()

Implements abstract com.sun.nio.sctp.AssociationChangeNotification.event.

Doc from com.sun.nio.sctp.AssociationChangeNotification.event.

Returns the type of change event.

Annotations
@Override
maxInStreamsback to summary
pack-priv int maxInStreams()
maxOutStreamsback to summary
pack-priv int maxOutStreams()
setAssociationback to summary
public void setAssociation(Association association)

Implements sun.nio.ch.sctp.SctpNotification.setAssociation.

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