Enum Class AutoReconnectState

java.lang.Object
java.lang.Enum<AutoReconnectState>
org.openscada.opc.lib.da.AutoReconnectState
All Implemented Interfaces:
Serializable, Comparable<AutoReconnectState>, Constable

public enum AutoReconnectState extends Enum<AutoReconnectState>
A state for the auto-reconnect controller
Author:
Jens Reimann
  • Enum Constant Details

    • DISABLED

      public static final AutoReconnectState DISABLED
      Auto reconnect is disabled.
    • DISCONNECTED

      public static final AutoReconnectState DISCONNECTED
      Auto reconnect is enabled, but the connection is currently not established.
    • WAITING

      public static final AutoReconnectState WAITING
      Auto reconnect is enabled, the connection is not established and the controller is currently waiting the delay until it will reconnect.
    • CONNECTING

      public static final AutoReconnectState CONNECTING
      Auto reconnect is enabled, the connection is not established but the controller currently tries to establish the connection.
    • CONNECTED

      public static final AutoReconnectState CONNECTED
      Auto reconnect is enabled and the connection is established.
  • Method Details

    • values

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