Package com.seeq.link.sdk.interfaces
Enum Class Connection.ConnectionState
- All Implemented Interfaces:
Serializable
,Comparable<Connection.ConnectionState>
,Constable
- Enclosing interface:
- Connection
The set of possible connection states to an external entity.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe connector has successfully connected to the external entity.The connector has attempted to connect with the external entity, but has not yet been successful.The connector will not attempt to contact the external entity.The connector has attempted to connect or has previously successfully connected to the external entity, but is now disconnected. -
Method Summary
Modifier and TypeMethodDescriptionstatic Connection.ConnectionState
Returns the enum constant of this class with the specified name.static Connection.ConnectionState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DISABLED
The connector will not attempt to contact the external entity. -
CONNECTING
The connector has attempted to connect with the external entity, but has not yet been successful. -
CONNECTED
The connector has successfully connected to the external entity. -
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
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
-