public static enum InstrumentProfileConnection.State extends Enum<InstrumentProfileConnection.State>
Enum Constant and Description |
---|
CLOSED
Instrument profile connection was
closed . |
COMPLETED
Initial instrument profiles snapshot was fully read (this state is set only once).
|
CONNECTED
Connection was established.
|
CONNECTING
Connection is being established.
|
NOT_CONNECTED
Instrument profile connection is not started yet.
|
Modifier and Type | Method and Description |
---|---|
static InstrumentProfileConnection.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InstrumentProfileConnection.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstrumentProfileConnection.State NOT_CONNECTED
start
was not invoked yet.public static final InstrumentProfileConnection.State CONNECTING
public static final InstrumentProfileConnection.State CONNECTED
public static final InstrumentProfileConnection.State COMPLETED
public static final InstrumentProfileConnection.State CLOSED
closed
.public static InstrumentProfileConnection.State[] values()
for (InstrumentProfileConnection.State c : InstrumentProfileConnection.State.values()) System.out.println(c);
public static InstrumentProfileConnection.State valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2002–2023 Devexperts LLC. All rights reserved.