|
JavaTM SCTP API DRAFT ea-b09 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||
java.lang.Objectjava.lang.Enum<AssociationChangeNotification.AssocChangeEvent>
com.sun.nio.sctp.AssociationChangeNotification.AssocChangeEvent
public static enum AssociationChangeNotification.AssocChangeEvent
Defines the type of change event that happened to the association.
| Enum Constant Summary | |
|---|---|
CANT_START
The association failed to setup. |
|
COMM_LOST
The association has failed. |
|
COMM_UP
A new association is now ready and data may be exchanged with this peer. |
|
RESTART
SCTP has detected that the peer has restarted. |
|
SHUTDOWN
The association has gracefully closed. |
|
| Method Summary | |
|---|---|
static AssociationChangeNotification.AssocChangeEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AssociationChangeNotification.AssocChangeEvent[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final AssociationChangeNotification.AssocChangeEvent COMM_UP
public static final AssociationChangeNotification.AssocChangeEvent COMM_LOST
public static final AssociationChangeNotification.AssocChangeEvent RESTART
public static final AssociationChangeNotification.AssocChangeEvent SHUTDOWN
public static final AssociationChangeNotification.AssocChangeEvent CANT_START
SctpMultiChannel in non-blocking mode, an
SCTP send failed notification will follow this notification for the
outstanding message.
| Method Detail |
|---|
public static AssociationChangeNotification.AssocChangeEvent[] values()
for (AssociationChangeNotification.AssocChangeEvent c : AssociationChangeNotification.AssocChangeEvent.values()) System.out.println(c);
public static AssociationChangeNotification.AssocChangeEvent valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
JavaTM SCTP API DRAFT ea-b09 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||