public enum SctpNotificationType extends Enum<SctpNotificationType>
enum
defining types of the SCTP notifications.Enum Constant and Description |
---|
ASSOCIATION_CHANGE
A notification that can be casted to
com.sun.nio.sctp.AssociationChangeNotification |
GENERIC
A generic notification
|
PEER_ADDRESS_CHANGE
A notification that can be casted to
com.sun.nio.sctp.PeerAddressChangeNotification |
SEND_FAILED
A notification that can be casted to
com.sun.nio.sctp.SendFailedNotification |
SHUTDOWN
A notification that can be casted to
com.sun.nio.sctp.ShutdownNotification |
Modifier and Type | Method and Description |
---|---|
static SctpNotificationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SctpNotificationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SctpNotificationType GENERIC
public static final SctpNotificationType ASSOCIATION_CHANGE
com.sun.nio.sctp.AssociationChangeNotification
public static final SctpNotificationType PEER_ADDRESS_CHANGE
com.sun.nio.sctp.PeerAddressChangeNotification
public static final SctpNotificationType SEND_FAILED
com.sun.nio.sctp.SendFailedNotification
public static final SctpNotificationType SHUTDOWN
com.sun.nio.sctp.ShutdownNotification
public static SctpNotificationType[] values()
for (SctpNotificationType c : SctpNotificationType.values()) System.out.println(c);
public static SctpNotificationType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2017–2022 SNF4J.ORG. All rights reserved.