public static enum AddeThread.McservEvent extends Enum<AddeThread.McservEvent>
Enum Constant and Description |
---|
ACTIVE
Mcservl is actively listening.
|
DIED
Mcservl has died unexpectedly.
|
STARTED
Mcservl started listening.
|
STOPPED
Mcservl has stopped listening.
|
Modifier and Type | Method and Description |
---|---|
String |
getMessage() |
static AddeThread.McservEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AddeThread.McservEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AddeThread.McservEvent ACTIVE
public static final AddeThread.McservEvent DIED
public static final AddeThread.McservEvent STARTED
public static final AddeThread.McservEvent STOPPED
public static AddeThread.McservEvent[] values()
for (AddeThread.McservEvent c : AddeThread.McservEvent.values()) System.out.println(c);
public static AddeThread.McservEvent 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 nullpublic String getMessage()