hmi.util
Interface Clock
public interface Clock
A Clock is an object that delivers time stamps at
(more or less) regular intervals to a set of subscribers.
The time is delivered in the form of a "long" integer, in milliseconds.
The interval between two clock "ticks" and the precision of the time value itself
are not guaranteed, and are system dependent.
- Author:
- Job Zwiers
|
Method Summary |
void |
addClockListener(ClockListener listener)
adds "listener" to the collection of ClockListeners
that receive time(currentTime) callbacks. |
addClockListener
void addClockListener(ClockListener listener)
- adds "listener" to the collection of ClockListeners
that receive time(currentTime) callbacks.