|
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.SleepCommand
public class SleepCommand
| Field Summary |
|---|
| Fields inherited from class org.eclipse.soda.dk.device.Control |
|---|
EXCEPTION_READ_FAILED_RESOURCE, SET_VALUE_EXCEPTION_RESOURCE |
| Constructor Summary | |
|---|---|
SleepCommand(java.lang.String key)
Constructs an instance of this class from the specified key parameter. |
|
SleepCommand(java.lang.String key,
long time)
Constructs an instance of this class from the specified key and time parameters. |
|
| Method Summary | |
|---|---|
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. |
| 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.device.service.ControlService |
|---|
getKey |
| Methods inherited from interface org.eclipse.soda.dk.transport.service.ErrorListener |
|---|
errorOccurred |
| Methods inherited from interface org.eclipse.soda.dk.transport.service.ErrorListener |
|---|
errorOccurred |
| Constructor Detail |
|---|
public SleepCommand(java.lang.String key)
key - The key (String) parameter.SleepCommand(String,long)
public SleepCommand(java.lang.String key,
long time)
key - The key (String) parameter.time - The time (long) parameter.SleepCommand(String)| Method Detail |
|---|
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 void execute(ChannelService channel)
execute in interface CommandServiceexecute in class Commandchannel - The channel (ChannelService) parameter.execute(ChannelService,Object)
|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||