Package org.openscada.opc.lib.da
Enum Class AutoReconnectState
- All Implemented Interfaces:
Serializable,Comparable<AutoReconnectState>,Constable
A state for the auto-reconnect controller
- Author:
- Jens Reimann
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAuto reconnect is enabled and the connection is established.Auto reconnect is enabled, the connection is not established but the controller currently tries to establish the connection.Auto reconnect is disabled.Auto reconnect is enabled, but the connection is currently not established.Auto reconnect is enabled, the connection is not established and the controller is currently waiting the delay until it will reconnect. -
Method Summary
Modifier and TypeMethodDescriptionstatic AutoReconnectStateReturns the enum constant of this class with the specified name.static AutoReconnectState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DISABLED
Auto reconnect is disabled. -
DISCONNECTED
Auto reconnect is enabled, but the connection is currently not established. -
WAITING
Auto reconnect is enabled, the connection is not established and the controller is currently waiting the delay until it will reconnect. -
CONNECTING
Auto reconnect is enabled, the connection is not established but the controller currently tries to establish the connection. -
CONNECTED
Auto reconnect is enabled and the connection is established.
-
-
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
-