|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ITimerService
This interface describes the timer service. The timer sleeps for a given amount of milliseconds, called 'tick', after each tick it checks whether there are consumer which have to be notified. Currently one tick is 100 ms.
| Method Summary | |
|---|---|
void |
addConsumer(ITimerConsumer object,
int amount)
Adds the specified consumer to the timer queue for the specified amount of ticks. |
void |
removeConsumer(ITimerConsumer object)
Removes the specified consumer from ALL queues. |
void |
removeConsumer(ITimerConsumer object,
int amount)
Removes the specified consumer from the timer queue for the specified amount of ticks. |
| Method Detail |
|---|
void addConsumer(ITimerConsumer object,
int amount)
void removeConsumer(ITimerConsumer object,
int amount)
void removeConsumer(ITimerConsumer object)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||