autohit.server.command
Class CommandSet

java.lang.Object
  extended byautohit.server.command.Command
      extended byautohit.server.command.CommandSet
All Implemented Interfaces:
java.io.Serializable

public class CommandSet
extends Command

The SET command. This will set and invoker property. It expects a name value pair, seperated by a '='. Everything to the right of the equals sign to the end of the string will be put in the property.

COMMAND LIST this.assert(false,false,false,false,true,false) 0-UNI - OPTIONAL 1-RESPONSE - OPTIONAL 2-TARGET - UNUSED 3-CLASS - UNUSED 4-COMMAND - REQUIRED - The name/value specification (name=value text) 5-OBJECT - UNUSED

Version:
1.0 Version History EPG - Initial - 30Jul03
Author:
Erich P. Gatejen
See Also:
Serialized Form

Field Summary
static java.lang.String MY_NAME
          My name
 
Fields inherited from class autohit.server.command.Command
CLASS_LIST_INDEX, classobject, command, COMMAND_LIST_INDEX, data, OBJECT_LIST_INDEX, response, RESPONSE_ELEMENT_SEPERATOR, RESPONSE_LIST_INDEX, sc, target, TARGET_LIST_INDEX, uni, UNI_LIST_INDEX, uniqueID
 
Constructor Summary
CommandSet()
           
 
Method Summary
 java.lang.String execute()
          Execute the command.
 java.lang.String getName()
          Get the textual name for the command.
 java.lang.String verify()
          Verify the Compile command.
 
Methods inherited from class autohit.server.command.Command
assertparam, call, createCommand, getMsgHeader, respond, sendTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MY_NAME

public static final java.lang.String MY_NAME
My name

See Also:
Constant Field Values
Constructor Detail

CommandSet

public CommandSet()
Method Detail

execute

public java.lang.String execute()
                         throws ServerException
Execute the command.

Specified by:
execute in class Command
Returns:
return the manreadable message for success.
Throws:
ServerException

verify

public java.lang.String verify()
                        throws ServerException
Verify the Compile command.

Specified by:
verify in class Command
Returns:
return the manreadable message for accepting the command.
Throws:
ServerException

getName

public java.lang.String getName()
Get the textual name for the command.

Specified by:
getName in class Command
Returns:
return the manreadable name of this command.


Test.