|
2009-01-09 1.2.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, SET_VALUE_EXCEPTION_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,
ChannelService channel,
java.lang.Object data)
Command executed with the specified source, timestamp, channel and data parameters. |
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(ChannelService channel)
Execute with the specified channel parameter. |
void |
execute(ChannelService channel,
java.lang.Object data)
Execute with the specified channel and data parameters. |
CommandService[] |
getCommands()
Gets the org.eclipse.soda.dk.command.service.CommandService [] commands property value. |
protected void |
setCommands(CommandService[] commands)
Sets the commands value. |
| Methods inherited from class org.eclipse.soda.dk.command.Command |
|---|
addCommandListener, execute, execute, fireCommandExecuted, fireCommandExecuted, fireCommandExecuted, fireCommandExecuted, fireErrorOccurred, fireErrorOccurred, getCommandListener, measurementChanged, measurementChanged, removeCommandListener, reportError, setCommandListener, signalOccurred, 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 - The key (String) parameter.commands - The commands (CommandService[]) parameter.getCommands(),
setCommands(CommandService[])| Method Detail |
|---|
public void commandExecuted(CommandService source,
java.lang.Object timestamp,
ChannelService channel,
java.lang.Object data)
commandExecuted in interface MultiplexCommandListenersource - The source (CommandService) parameter.timestamp - The time stamp (Object) parameter.channel - The channel (ChannelService) parameter.data - The data (Object) parameter.commandExecuted(CommandService,Object,Object)
public void commandExecuted(CommandService source,
java.lang.Object timestamp,
java.lang.Object data)
commandExecuted in interface CommandListenersource - The source (CommandService) parameter.timestamp - The time stamp (Object) parameter.data - The data (Object) parameter.commandExecuted(CommandService,Object,ChannelService,Object)public void execute(ChannelService channel)
execute in interface CommandServiceexecute in class Commandchannel - The channel (ChannelService) parameter.execute(ChannelService,Object)
public void execute(ChannelService channel,
java.lang.Object data)
execute in interface CommandServiceexecute in class Commandchannel - The channel (ChannelService) parameter.data - The data (Object) parameter.execute(ChannelService)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 commands (CommandService[]) parameter.Commands(String,CommandService[]),
getCommands()
|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||