public enum ConnectionEvent extends Enum<ConnectionEvent>
Enum Constant and Description |
---|
CONNECTION
Sent when a notification session is established.
|
DISCONNECTION
Sent when a notification session is terminated (for any reason).
|
Modifier and Type | Method and Description |
---|---|
static ConnectionEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionEvent CONNECTION
public static final ConnectionEvent DISCONNECTION
public static ConnectionEvent[] values()
for (ConnectionEvent c : ConnectionEvent.values()) System.out.println(c);
public static ConnectionEvent 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 2011-2017 ForgeRock AS.