public static enum SROPCServer.State extends java.lang.Enum<SROPCServer.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 SROPCServer.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SROPCServer.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SROPCServer.State UNKNOWN
public static final SROPCServer.State CONNECTING
public static final SROPCServer.State CONNECTED
public static final SROPCServer.State FAULTED
public static final SROPCServer.State CLOSED
public static final SROPCServer.State DISABLED
public static SROPCServer.State[] values()
for (SROPCServer.State c : SROPCServer.State.values()) System.out.println(c);
public static SROPCServer.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