Package com.zeroc.IceGrid
Enum Class ServerState
- All Implemented Interfaces:
Serializable
,Comparable<ServerState>
,Constable
An enumeration representing the state of the server.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe 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.The activation timed out state indicates that the server activation timed out.The server is running.The server is being deactivated.The server is destroyed.The server is being destroyed.The server is not running. -
Method Summary
Modifier and TypeMethodDescriptionstatic ServerState
ice_read
(InputStream istr) static Optional<ServerState>
ice_read
(InputStream istr, int tag) void
ice_write
(OutputStream ostr) static void
ice_write
(OutputStream ostr, int tag, ServerState v) static void
ice_write
(OutputStream ostr, int tag, Optional<ServerState> v) static void
ice_write
(OutputStream ostr, ServerState v) int
value()
static ServerState
valueOf
(int v) Returns the enum constant of this class with the specified name.static ServerState
Returns the enum constant of this class with the specified name.static ServerState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Inactive
The server is not running. -
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
The activation timed out state indicates that the server activation timed out. -
Active
The server is running. -
Deactivating
The server is being deactivated. -
Destroying
The server is being destroyed. -
Destroyed
The server is destroyed.
-
-
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
-
value
public int value() -
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:
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 nameNullPointerException
- if the argument is null
-
ice_write
-
ice_write
-
ice_read
-
ice_write
-
ice_write
-
ice_read
-