|
2008-09-10 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.soda.dk.core.EscObject
org.eclipse.soda.dk.device.Control
org.eclipse.soda.dk.command.Command
org.eclipse.soda.dk.command.Commands
public class Commands
The Commands class implements the CommandService interface.
Command,
Control,
CommandService,
CommandListener,
ControlService,
ErrorListener,
MeasurementListener,
MessageHandler,
SignalListener| Field Summary |
|---|
| Fields inherited from class org.eclipse.soda.dk.device.Control |
|---|
EXCEPTION_READ_FAILED_RESOURCE, SETVALUEEXCEPTION_RESOURCE |
| Constructor Summary | |
|---|---|
Commands(java.lang.String key,
CommandService[] commands)
Constructs an Commands object using the input parameter(s). |
|
| Method Summary | |
|---|---|
void |
commandExecuted(CommandService source,
java.lang.Object timestamp,
java.lang.Object data)
This method is fired to all Listeners each time the command is executed. |
void |
execute()
Perform the execute action method. |
void |
execute(java.lang.Object object)
Perform the execute action method. |
CommandService[] |
getCommands()
Gets the org.eclipse.soda.dk.command.service.CommandService [] commands property value. |
protected void |
setCommands(CommandService[] commands)
Sets the commands property. |
| Methods inherited from class org.eclipse.soda.dk.command.Command |
|---|
addCommandListener, fireCommandExecuted, fireCommandExecuted, fireErrorOccurred, fireErrorOccurred, getCommandListener, measurementChanged, removeCommandListener, reportError, setCommandListener, signalOccurred |
| Methods inherited from class org.eclipse.soda.dk.device.Control |
|---|
attemptRecoveryFromError, equalsValue, errorOccurred, findMethod, getCodeKey, getErrorSeverity, getKey, getQualifiedKey, getResource, setKey, setQualifiedKey, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.soda.dk.transport.service.ErrorListener |
|---|
errorOccurred |
| Methods inherited from interface org.eclipse.soda.dk.device.service.ControlService |
|---|
getKey |
| Constructor Detail |
|---|
public Commands(java.lang.String key,
CommandService[] commands)
Commands object using the input parameter(s).
key - java.lang.Stringcommands - org.eclipse.soda.dk.command.service.CommandService[]getCommands(),
setCommands(CommandService[])| Method Detail |
|---|
public void commandExecuted(CommandService source,
java.lang.Object timestamp,
java.lang.Object data)
commandExecuted in interface CommandListenersource - CommandService which was executed.timestamp - The time at which the command execution was detected.data - Any data which was contained within the command.public void execute()
execute in interface CommandServiceexecute in class CommandCommandService.execute(),
execute(Object)public void execute(java.lang.Object object)
execute in interface CommandServiceexecute in class Commandobject - java.lang.ObjectCommandService.execute(Object),
execute()public CommandService[] getCommands()
org.eclipse.soda.dk.command.service.CommandService [] commands property value.
CommandService[]) value.Commands(String,CommandService[]),
setCommands(CommandService[])protected void setCommands(CommandService[] commands)
commands - The new property value (org.eclipse.soda.dk.command.service.CommandService[]).Commands(String,CommandService[]),
getCommands()
|
2008-09-10 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||