Package com.streambase.liveview.client
Enum Class LiveViewConnectionControl.ConnectionState
java.lang.Object
java.lang.Enum<LiveViewConnectionControl.ConnectionState>
com.streambase.liveview.client.LiveViewConnectionControl.ConnectionState
- All Implemented Interfaces:
Serializable
,Comparable<LiveViewConnectionControl.ConnectionState>
,Constable
- Enclosing interface:
- LiveViewConnectionControl
public static enum LiveViewConnectionControl.ConnectionState
extends Enum<LiveViewConnectionControl.ConnectionState>
The status of this connection
- Since:
- 2.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionSuccessfully connected to serverConnection has been explicitly shut off via a LiveViewConnectionControl.setActive callTrying to connect but not complete, yet.Neither connected nor attempting. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONNECTED
Successfully connected to server -
TRYING_TO_CONNECT
Trying to connect but not complete, yet. -
WAITING
Neither connected nor attempting. Only happens if MultiConnectionConfig.preConnectAlternates is false. -
INACTIVE
Connection has been explicitly shut off via a LiveViewConnectionControl.setActive call
-
-
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
-