protected class TimerTaskSensor.SensorRead extends TimerTask
| Modifier and Type | Field and Description |
|---|---|
private boolean |
running
Lets a thread check, if another one is currently underway.
|
| Modifier | Constructor and Description |
|---|---|
protected |
SensorRead()
Constructs a new sensor read as a timer task.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run()
Reads this sensor at a specified frequency.
|
cancel, scheduledExecutionTimeprivate boolean running
public void run()