edu.wisc.ssec.mcidasv.servermanager
Enum AddeThread.McservEvent

java.lang.Object
  extended by java.lang.Enum<AddeThread.McservEvent>
      extended by edu.wisc.ssec.mcidasv.servermanager.AddeThread.McservEvent
All Implemented Interfaces:
Serializable, Comparable<AddeThread.McservEvent>
Enclosing class:
AddeThread

public static enum AddeThread.McservEvent
extends Enum<AddeThread.McservEvent>

Mcserv events.


Enum Constant Summary
ACTIVE
          Mcservl is actively listening.
DIED
          Mcservl has died unexpectedly.
STARTED
          Mcservl started listening.
STOPPED
          Mcservl has stopped listening.
 
Field Summary
private  String message
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ACTIVE

public static final AddeThread.McservEvent ACTIVE
Mcservl is actively listening.


DIED

public static final AddeThread.McservEvent DIED
Mcservl has died unexpectedly.


STARTED

public static final AddeThread.McservEvent STARTED
Mcservl started listening.


STOPPED

public static final AddeThread.McservEvent STOPPED
Mcservl has stopped listening.

Field Detail

message

private final String message
Method Detail

values

public static AddeThread.McservEvent[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (AddeThread.McservEvent c : AddeThread.McservEvent.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static AddeThread.McservEvent valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
NullPointerException - if the argument is null

getMessage

public String getMessage()
Returns:
Format string associated with an event.