com.yobotics.simulationconstructionset.robotcommprotocol
Enum RobotProtocolCommand

java.lang.Object
  extended by java.lang.Enum<RobotProtocolCommand>
      extended by com.yobotics.simulationconstructionset.robotcommprotocol.RobotProtocolCommand
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RobotProtocolCommand>

public enum RobotProtocolCommand
extends java.lang.Enum<RobotProtocolCommand>


Enum Constant Summary
ALL_REGISTRIES_AND_VARIABLES
           
CHECK_CONNECTED
           
DATA
           
DISCONNECT
           
HELLO
           
PERIOD
           
REGISTRY_SETTINGS
           
REGISTRY_SETTINGS_PROCESSED
           
REQ_ALL_REGISTRIES_AND_VARIABLES
           
SENT_VAR_INDICES
           
SET
           
TEXT_MESSAGE
           
UPDATE_VARS
           
USR_CMD
           
 
Method Summary
static RobotProtocolCommand valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RobotProtocolCommand[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

HELLO

public static final RobotProtocolCommand HELLO

PERIOD

public static final RobotProtocolCommand PERIOD

REQ_ALL_REGISTRIES_AND_VARIABLES

public static final RobotProtocolCommand REQ_ALL_REGISTRIES_AND_VARIABLES

ALL_REGISTRIES_AND_VARIABLES

public static final RobotProtocolCommand ALL_REGISTRIES_AND_VARIABLES

REGISTRY_SETTINGS

public static final RobotProtocolCommand REGISTRY_SETTINGS

REGISTRY_SETTINGS_PROCESSED

public static final RobotProtocolCommand REGISTRY_SETTINGS_PROCESSED

SENT_VAR_INDICES

public static final RobotProtocolCommand SENT_VAR_INDICES

UPDATE_VARS

public static final RobotProtocolCommand UPDATE_VARS

CHECK_CONNECTED

public static final RobotProtocolCommand CHECK_CONNECTED

DISCONNECT

public static final RobotProtocolCommand DISCONNECT

SET

public static final RobotProtocolCommand SET

USR_CMD

public static final RobotProtocolCommand USR_CMD

DATA

public static final RobotProtocolCommand DATA

TEXT_MESSAGE

public static final RobotProtocolCommand TEXT_MESSAGE
Method Detail

values

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

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

valueOf

public static RobotProtocolCommand valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null