things.thinger.service.command.impl
Class Command_RUN

java.lang.Object
  extended by things.thinger.service.command.Command
      extended by things.thinger.service.command.impl.Command_RUN

public class Command_RUN
extends Command

An implemented command. This will run a THING.

Version:
1.0

Version History

EPG - Initial - 10 JAN 07
 
Author:
Erich P. Gatejen

Nested Class Summary
 
Nested classes/interfaces inherited from class things.thinger.service.command.Command
Command.CheckType, Command.DataType, Command.Occurrence, Command.Requirement
 
Field Summary
static java.lang.String NAME
           
static java.lang.String PARAMETER_NAME
           
static java.lang.String RESPONSE_ID
           
static java.lang.String RESPONSE_TAG
           
 
Constructor Summary
Command_RUN()
           
 
Method Summary
 void accept()
          This will be called when the command is called.
 void declare()
          Command declaration.
 java.lang.String named()
          Return the official name of this command.
 
Methods inherited from class things.thinger.service.command.Command
checkDataForm, checkRequiredData, DECLARE_NAME, DECLARE_PARAMETER, DECLARE_RESPONSE, DONE, FLUSH, GET_PARAMETER, GET_SYSTEM_INTERFACE, getDefinition, getInstanceData, instantiateCommand, instantiateResponse, RESPOND, RESPOND, SET_PARAMETER, validateReceiptList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values

PARAMETER_NAME

public static final java.lang.String PARAMETER_NAME
See Also:
Constant Field Values

RESPONSE_ID

public static final java.lang.String RESPONSE_ID
See Also:
Constant Field Values

RESPONSE_TAG

public static final java.lang.String RESPONSE_TAG
See Also:
Constant Field Values
Constructor Detail

Command_RUN

public Command_RUN()
Method Detail

declare

public void declare()
             throws SystemException
Command declaration. Do not call this directly!

Specified by:
declare in class Command
Throws:
SystemException

named

public java.lang.String named()
Return the official name of this command. If there is another command named the same of different class signature, it will cause a significant system fault.

Specified by:
named in class Command
Returns:
The official name of the command.

accept

public void accept()
            throws SystemException
This will be called when the command is called.

Specified by:
accept in class Command
Throws:
SystemException


Things.