Enum Class Connection.ConnectionState

java.lang.Object
java.lang.Enum<Connection.ConnectionState>
com.seeq.link.sdk.interfaces.Connection.ConnectionState
All Implemented Interfaces:
Serializable, Comparable<Connection.ConnectionState>, Constable
Enclosing interface:
Connection

public static enum Connection.ConnectionState extends Enum<Connection.ConnectionState>
The set of possible connection states to an external entity.
  • Enum Constant Details

    • DISABLED

      public static final Connection.ConnectionState DISABLED
      The connector will not attempt to contact the external entity.
    • CONNECTING

      public static final Connection.ConnectionState CONNECTING
      The connector has attempted to connect with the external entity, but has not yet been successful.
    • CONNECTED

      public static final Connection.ConnectionState CONNECTED
      The connector has successfully connected to the external entity.
    • DISCONNECTED

      public static final Connection.ConnectionState DISCONNECTED
      The connector has attempted to connect or has previously successfully connected to the external entity, but is now disconnected. Re-connection will be attempted after the delay specified in BaseReconnectDelay.
  • Method Details

    • values

      public static Connection.ConnectionState[] 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 Connection.ConnectionState 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