Enum Class ControllerSessionState

java.lang.Object
java.lang.Enum<ControllerSessionState>
be.theking90000.mumble.controller.core.ControllerSessionState
All Implemented Interfaces:
Serializable, Comparable<ControllerSessionState>, Constable

public enum ControllerSessionState extends Enum<ControllerSessionState>
Observable lifecycle of a controller session.
  • Enum Constant Details

    • NEW

      public static final ControllerSessionState NEW
      The session has been built but not started.
    • CONNECTING

      public static final ControllerSessionState CONNECTING
      A transport connection is being established.
    • RECONCILING

      public static final ControllerSessionState RECONCILING
      The runtime is examining the complete desired-state snapshot.
    • ACTIVE

      public static final ControllerSessionState ACTIVE
      Reconciliation completed and commands can be sent.
    • RECONNECTING

      public static final ControllerSessionState RECONNECTING
      A retryable stream failure suspended remote operations.
    • STOPPING

      public static final ControllerSessionState STOPPING
      A graceful stop has begun.
    • CLOSED

      public static final ControllerSessionState CLOSED
      The session is permanently closed.
    • FAILED

      public static final ControllerSessionState FAILED
      A permanent transport or protocol failure terminated the session.
  • Method Details

    • values

      public static ControllerSessionState[] 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

      public static ControllerSessionState valueOf(String name)
      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 name
      NullPointerException - if the argument is null