Enum Class AddeThread.McservEvent
- All Implemented Interfaces:
Serializable
,Comparable<AddeThread.McservEvent>
,Constable
- Enclosing class:
AddeThread
Mcserv events.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
McservEvent
(String message) Creates an object that represents the status of a mcservl process. -
Method Summary
Modifier and TypeMethodDescriptionstatic AddeThread.McservEvent
Returns the enum constant of this class with the specified name.static AddeThread.McservEvent[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACTIVE
Mcservl is actively listening. -
DIED
Mcservl has died unexpectedly. -
STARTED
Mcservl started listening. -
STOPPED
Mcservl has stopped listening.
-
-
Field Details
-
message
-
-
Constructor Details
-
McservEvent
Creates an object that represents the status of a mcservl process.- Parameters:
message
- Should not benull
.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getMessage
- Returns:
- Format string associated with an event.
-