stella.parameter
Class DeviceTrigger.PingTask
java.lang.Object
java.util.TimerTask
stella.parameter.DeviceTrigger.PingTask
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- DeviceTrigger
private class DeviceTrigger.PingTask
- extends TimerTask
The timer task that connects to the device. If the underlying
CommandLaunching.isReady() method returns true, the device
trigger toggles to true.
|
Method Summary |
void |
run()
The run method of a device trigger. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeviceTrigger.PingTask
private DeviceTrigger.PingTask()
run
public void run()
- The run method of a device trigger. Only device triggers have a run
method. Other event triggers receive their change state
as a
event listener.
The type of communication is not
specified because this trigger simply calls the
CommandLaunching.isReady() method.
- Specified by:
run in interface Runnable- Specified by:
run in class TimerTask