A thread-safe class for running timeouts on asynchronous methods. More...
Public Member Functions | |
abstract void | start (int timeout) |
Starts the timer. More... | |
abstract boolean | stop () |
Stops the timer, notifying the calling code if the timeout has already elapsed. More... | |
A thread-safe class for running timeouts on asynchronous methods.
|
abstract |
Starts the timer.
timeout | The timeout length, in milliseconds. |
Implemented in fm.liveswitch.TimeoutTimer.
|
abstract |
Stops the timer, notifying the calling code if the timeout has already elapsed.
Implemented in fm.liveswitch.TimeoutTimer.