|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TimerService
Service interface for repeated callbacks at regular intervals.
Method Summary | |
---|---|
void |
setCallback(TimerCallback timerCallback)
Set the callback method to invoke for clock ticks. |
void |
startInternalClock()
Start clock expecting callbacks at regular intervals and a fixed rate. |
void |
stopInternalClock(boolean warnIfNotStarted)
Stop internal clock. |
Method Detail |
---|
void setCallback(TimerCallback timerCallback)
timerCallback
- is the callbackvoid startInternalClock()
void stopInternalClock(boolean warnIfNotStarted)
warnIfNotStarted
- use true to indicate whether to warn if the clock is not started, use false to not warn
and expect the clock to be not started.
|
© 2007 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |