Enum Class ControllerSessionState
java.lang.Object
java.lang.Enum<ControllerSessionState>
be.theking90000.mumble.controller.core.ControllerSessionState
- All Implemented Interfaces:
Serializable,Comparable<ControllerSessionState>,Constable
Observable lifecycle of a controller session.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionReconciliation completed and commands can be sent.The session is permanently closed.A transport connection is being established.A permanent transport or protocol failure terminated the session.The session has been built but not started.The runtime is examining the complete desired-state snapshot.A retryable stream failure suspended remote operations.A graceful stop has begun. -
Method Summary
Modifier and TypeMethodDescriptionstatic ControllerSessionStateReturns the enum constant of this class with the specified name.static ControllerSessionState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NEW
The session has been built but not started. -
CONNECTING
A transport connection is being established. -
RECONCILING
The runtime is examining the complete desired-state snapshot. -
ACTIVE
Reconciliation completed and commands can be sent. -
RECONNECTING
A retryable stream failure suspended remote operations. -
STOPPING
A graceful stop has begun. -
CLOSED
The session is permanently closed. -
FAILED
A permanent transport or protocol failure terminated the session.
-
-
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
-