public static enum OpcConnection.State extends java.lang.Enum<OpcConnection.State> implements Localized
Enum Constant and Description |
---|
CLOSED |
CONNECTED |
CONNECTING |
DISABLED |
FAULTED |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString(java.util.Locale locale) |
static OpcConnection.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OpcConnection.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OpcConnection.State UNKNOWN
public static final OpcConnection.State CONNECTING
public static final OpcConnection.State CONNECTED
public static final OpcConnection.State FAULTED
public static final OpcConnection.State CLOSED
public static final OpcConnection.State DISABLED
public static OpcConnection.State[] values()
for (OpcConnection.State c : OpcConnection.State.values()) System.out.println(c);
public static OpcConnection.State valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null