|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.java.dev.moskito.core.timing.timer.TimerServiceImpl.TimerObject
class TimerServiceImpl.TimerObject
The Holder class for the information of upcoming events.
| Field Summary | |
|---|---|
(package private) int |
amount
Amount for this timer object to sleep. |
(package private) List<ITimerConsumer> |
consumers
Receiver of this Timer Event. |
(package private) int |
remaining
Amount of time remaining for activation |
| Constructor Summary | |
|---|---|
TimerServiceImpl.TimerObject(int amount)
Default constructor. |
|
| Method Summary | |
|---|---|
void |
addConsumer(ITimerConsumer rec)
Adds a new receiver to an existing TimerObject. |
boolean |
equals(Object o)
For indexOf in java.util.Vector |
void |
removeConsumer(ITimerConsumer rec)
Removes the given receiver from this TimerObject. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
int remaining
int amount
List<ITimerConsumer> consumers
| Constructor Detail |
|---|
public TimerServiceImpl.TimerObject(int amount)
amount - Description of Parameter| Method Detail |
|---|
public void addConsumer(ITimerConsumer rec)
rec - The feature to be added to the Receiver attributepublic void removeConsumer(ITimerConsumer rec)
rec - Description of Parameterpublic boolean equals(Object o)
equals in class Objecto - Description of Parameter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||