Enum Class PVConnectionState
- All Implemented Interfaces:
Serializable,Comparable<PVConnectionState>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionGot basic connectionTrying to connectGot disconnectedRequested MetaDataReceived MetaDataReceived Value UpdatesNothing happened, yetSubscribing to receive value updates -
Method Summary
Modifier and TypeMethodDescriptionstatic PVConnectionStateReturns the enum constant of this class with the specified name.static PVConnectionState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Idle
Nothing happened, yet -
Connecting
Trying to connect -
Connected
Got basic connection -
GettingMetadata
Requested MetaData -
GotMetaData
Received MetaData -
Subscribing
Subscribing to receive value updates -
GotMonitor
Received Value UpdatesThis is the ultimate state!
-
Disconnected
Got disconnected
-
-
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
-