Enum Class ServerState

java.lang.Object
java.lang.Enum<ServerState>
com.zeroc.IceGrid.ServerState
All Implemented Interfaces:
Serializable, Comparable<ServerState>, Constable

public enum ServerState extends Enum<ServerState> implements Serializable
An enumeration representing the state of the server.
  • Enum Constant Details

    • Inactive

      public static final ServerState Inactive
      The server is not running.
    • Activating

      public static final ServerState Activating
      The server is being activated and will change to the active state when the registered server object adapters are activated or to the activation timed out state if the activation timeout expires.
    • ActivationTimedOut

      public static final ServerState ActivationTimedOut
      The activation timed out state indicates that the server activation timed out.
    • Active

      public static final ServerState Active
      The server is running.
    • Deactivating

      public static final ServerState Deactivating
      The server is being deactivated.
    • Destroying

      public static final ServerState Destroying
      The server is being destroyed.
    • Destroyed

      public static final ServerState Destroyed
      The server is destroyed.
  • Method Details

    • values

      public static ServerState[] 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 ServerState 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
    • value

      public int value()
    • valueOf

      public static ServerState valueOf(int v)
      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:
      v - 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
    • ice_write

      public void ice_write(OutputStream ostr)
    • ice_write

      public static void ice_write(OutputStream ostr, ServerState v)
    • ice_read

      public static ServerState ice_read(InputStream istr)
    • ice_write

      public static void ice_write(OutputStream ostr, int tag, Optional<ServerState> v)
    • ice_write

      public static void ice_write(OutputStream ostr, int tag, ServerState v)
    • ice_read

      public static Optional<ServerState> ice_read(InputStream istr, int tag)