public static enum CACEvent.EventType extends Enum<CACEvent.EventType>
| Enum Constant and Description |
|---|
CONNECTION_RELEASE
Connection release.
|
CONNECTION_REQUEST
Connection request.
|
| Modifier and Type | Method and Description |
|---|---|
static CACEvent.EventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CACEvent.EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CACEvent.EventType CONNECTION_REQUEST
public static final CACEvent.EventType CONNECTION_RELEASE
public static CACEvent.EventType[] values()
for (CACEvent.EventType c : CACEvent.EventType.values()) System.out.println(c);
public static CACEvent.EventType 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 null