stella.parameter
Class DeviceTrigger.PingTask

java.lang.Object
  extended by java.util.TimerTask
      extended by 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.


Constructor Summary
private DeviceTrigger.PingTask()
           
 
Method Summary
 void run()
          The run method of a device trigger.
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeviceTrigger.PingTask

private DeviceTrigger.PingTask()
Method Detail

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