Enum Class AssociationChangeNotification.AssocChangeEvent
- All Implemented Interfaces:
- Enclosing class:
public static enum AssociationChangeNotification.AssocChangeEvent extends Enum<AssociationChangeNotification.AssocChangeEvent>
Defines the type of change event that happened to the association.
Nested Class Summary
Nested classes/interfaces declared in class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Enum Constant SummaryEnum ConstantDescriptionThe association failed to setup.The association has failed.A new association is now ready and data may be exchanged with this peer.SCTP has detected that the peer has restarted.The association has gracefully closed.
Method SummaryModifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.
values()Returns an array containing the constants of this enum class, in the order they are declared.
Methods declared in class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Enum Constant Details
COMM_UPpublic static final AssociationChangeNotification.AssocChangeEvent COMM_UPA new association is now ready and data may be exchanged with this peer.
COMM_LOSTpublic static final AssociationChangeNotification.AssocChangeEvent COMM_LOSTThe association has failed. A series of SCTP send failed notifications will follow this notification, one for each outstanding message.
RESTARTpublic static final AssociationChangeNotification.AssocChangeEvent RESTARTSCTP has detected that the peer has restarted.
SHUTDOWNpublic static final AssociationChangeNotification.AssocChangeEvent SHUTDOWNThe association has gracefully closed.
CANT_STARTpublic static final AssociationChangeNotification.AssocChangeEvent CANT_STARTThe association failed to setup. If a message was sent on a
SctpMultiChannelin non-blocking mode, an SCTP send failed notification will follow this notification for the outstanding message.
valuespublic static AssociationChangeNotification.AssocChangeEvent values()Returns an array containing the constants of this enum class, in the order they are declared.
- an array containing the constants of this enum class, in the order they are declared
valueOfpublic static AssociationChangeNotification.AssocChangeEvent valueOf
(String name)Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
name- the name of the enum constant to be returned.
- the enum constant with the specified name
IllegalArgumentException- if this enum class has no constant with the specified name
NullPointerException- if the argument is null