Public Member Functions | |
TimeoutTimer (IAction1< Object > callback, Object state) | |
void | start (int timeout) |
Starts the timer. More... | |
boolean | stop () |
Stops the timer, notifying the calling code if the timeout has already elapsed. More... | |
fm.liveswitch.TimeoutTimer.TimeoutTimer | ( | IAction1< Object > | callback, |
Object | state | ||
) |
void fm.liveswitch.TimeoutTimer.start | ( | int | timeout | ) |
Starts the timer.
timeout | The timeout length, in milliseconds. |
Implements fm.liveswitch.ITimeoutTimer.
boolean fm.liveswitch.TimeoutTimer.stop | ( | ) |
Stops the timer, notifying the calling code if the timeout has already elapsed.
Implements fm.liveswitch.ITimeoutTimer.