Package com.ultikits.ultitools.utils
Enum Class AgentConnection.ReconnectOutcome
java.lang.Object
java.lang.Enum<AgentConnection.ReconnectOutcome>
com.ultikits.ultitools.utils.AgentConnection.ReconnectOutcome
- All Implemented Interfaces:
Serializable,Comparable<AgentConnection.ReconnectOutcome>,java.lang.constant.Constable
- Enclosing class:
AgentConnection
What
AgentConnection.reconnectNow() did.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn attempt is already in flight.Already connected.Not running (never started, stopped, or the credential was rejected).An attempt was started at once.Stopped because an upgrade is required; reconnecting cannot help. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static AgentConnection.ReconnectOutcome[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STARTED
An attempt was started at once. -
ALREADY_OPEN
Already connected. -
ALREADY_CONNECTING
An attempt is already in flight. -
UPGRADE_REQUIRED
Stopped because an upgrade is required; reconnecting cannot help. -
NOT_RUNNING
Not running (never started, stopped, or the credential was rejected).
-
-
Constructor Details
-
ReconnectOutcome
private ReconnectOutcome()
-
-
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
-