public static enum Com.EventTypes extends java.lang.Enum<Com.EventTypes>
Enum Constant and Description |
---|
COMMUNICATION_FAILURE |
CONNECTED |
DATA_AVAILABLE |
DISCONNECTED |
Modifier and Type | Method and Description |
---|---|
static Com.EventTypes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Com.EventTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Com.EventTypes DATA_AVAILABLE
public static final Com.EventTypes CONNECTED
public static final Com.EventTypes DISCONNECTED
public static final Com.EventTypes COMMUNICATION_FAILURE
public static Com.EventTypes[] values()
for (Com.EventTypes c : Com.EventTypes.values()) System.out.println(c);
public static Com.EventTypes 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