add javdoc

Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
This commit is contained in:
Michael Hirsch
2016-06-21 15:19:26 +02:00
parent aee106b9a9
commit 6f5f2e798b

View File

@@ -96,7 +96,11 @@ public abstract class AbstractSimulatedDevice {
this.pollDelaySec = pollDelaySec;
}
abstract public void poll();
/**
* Can be called by a scheduler to trigger a device polling, like in real
* scenarios devices are frequently asking for updates etc.
*/
public abstract void poll();
public int getPollDelaySec() {
return pollDelaySec;