public static enum ClientControl.SessionEventStream.Event.State extends Enum<ClientControl.SessionEventStream.Event.State>
Enum Constant and Description |
---|
ACTIVE
The session is connected and active.
|
CLOSED
The session has closed.
|
DISCONNECTED
The session is disconnected.
|
FAILED_OVER
The session has failed over to a different server in the
cluster after a disconnection.
|
RECONNECTED
The session has reconnected to the same server after a
disconnection.
|
Modifier and Type | Method and Description |
---|---|
static ClientControl.SessionEventStream.Event.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClientControl.SessionEventStream.Event.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientControl.SessionEventStream.Event.State ACTIVE
public static final ClientControl.SessionEventStream.Event.State DISCONNECTED
public static final ClientControl.SessionEventStream.Event.State RECONNECTED
public static final ClientControl.SessionEventStream.Event.State FAILED_OVER
public static final ClientControl.SessionEventStream.Event.State CLOSED
public static ClientControl.SessionEventStream.Event.State[] values()
for (ClientControl.SessionEventStream.Event.State c : ClientControl.SessionEventStream.Event.State.values()) System.out.println(c);
public static ClientControl.SessionEventStream.Event.State 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 © 2024 DiffusionData Ltd. All Rights Reserved.