Enum Class ClientControl.SessionEventStream.Event.State
java.lang.Object
java.lang.Enum<ClientControl.SessionEventStream.Event.State>
com.pushtechnology.diffusion.client.features.control.clients.ClientControl.SessionEventStream.Event.State
- All Implemented Interfaces:
Serializable
,Comparable<ClientControl.SessionEventStream.Event.State>
,Constable
- Enclosing interface:
- ClientControl.SessionEventStream.Event
public static enum ClientControl.SessionEventStream.Event.State
extends Enum<ClientControl.SessionEventStream.Event.State>
The session state.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe session is connected and active.The session has closed.The session is disconnected.The session has failed over to a different server in the cluster after a disconnection.The session has reconnected to the same server after a disconnection. -
Method Summary
Modifier 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.
-
Enum Constant Details
-
ACTIVE
The session is connected and active. -
DISCONNECTED
The session is disconnected. -
RECONNECTED
The session has reconnected to the same server after a disconnection. -
FAILED_OVER
The session has failed over to a different server in the cluster after a disconnection. -
CLOSED
The session has closed.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
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.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-