appl.parallel.event
Enum CommEvent.CommType

java.lang.Object
  extended by java.lang.Enum<CommEvent.CommType>
      extended by appl.parallel.event.CommEvent.CommType
All Implemented Interfaces:
Serializable, Comparable<CommEvent.CommType>
Enclosing class:
CommEvent

public static enum CommEvent.CommType
extends Enum<CommEvent.CommType>

Author:
Dominik Appl

Enum Constant Summary
CLIENT_EXECUTION
          A Client has executed a Task (including communication)
CLIENT_MERGE
          A client has invoked a merge
CLIENT_UPDATE
          A client has invoked an update
CONNECT
          Connection to servers were made
DISCONNECT
          The client disconnects from the servers
REMOTE_EXECUTION
          A Server has executed a task (without client-server communication)
REMOTE_UPDATE
          A Server has made an update from a source (possibly another server)
TRANSFER_DATA
          data was transfered
TRANSFER_METADATA
          meta data was transfered
TRANSFER_PARAMETERS
          Parameters were transfered
UNDEFINED
          A not further specified type
 
Method Summary
static CommEvent.CommType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CommEvent.CommType[] 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

UNDEFINED

public static final CommEvent.CommType UNDEFINED
A not further specified type


REMOTE_UPDATE

public static final CommEvent.CommType REMOTE_UPDATE
A Server has made an update from a source (possibly another server)


REMOTE_EXECUTION

public static final CommEvent.CommType REMOTE_EXECUTION
A Server has executed a task (without client-server communication)


CLIENT_EXECUTION

public static final CommEvent.CommType CLIENT_EXECUTION
A Client has executed a Task (including communication)


CLIENT_UPDATE

public static final CommEvent.CommType CLIENT_UPDATE
A client has invoked an update


CLIENT_MERGE

public static final CommEvent.CommType CLIENT_MERGE
A client has invoked a merge


TRANSFER_PARAMETERS

public static final CommEvent.CommType TRANSFER_PARAMETERS
Parameters were transfered


TRANSFER_METADATA

public static final CommEvent.CommType TRANSFER_METADATA
meta data was transfered


TRANSFER_DATA

public static final CommEvent.CommType TRANSFER_DATA
data was transfered


CONNECT

public static final CommEvent.CommType CONNECT
Connection to servers were made


DISCONNECT

public static final CommEvent.CommType DISCONNECT
The client disconnects from the servers

Method Detail

values

public static CommEvent.CommType[] 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 (CommEvent.CommType c : CommEvent.CommType.values())
    System.out.println(c);

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

valueOf

public static CommEvent.CommType 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