|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ITicker
| Method Summary | |
|---|---|
void |
addTickable(ITick tickable)
|
void |
clear()
Stops the ticker and unregisters all registered items. |
long |
getBeginnigOfTime()
Returns the cycle offset. |
long |
getCurrentCycle()
Returns the current time |
long |
getCycleMillis()
Returns the cyle length. |
void |
initialize()
|
boolean |
isManual()
|
void |
removeTickable(ITick tickable)
|
void |
setBeginningOfTime(long value)
Sets the cycle offset. |
void |
setCurrentCycle(long cycle)
Sets the current cycle. |
void |
setCycleMillis(long cycleMillis)
Sets the cycle length. |
void |
setLogger(LoggingTool logger)
Attaches the logger. |
void |
setManual(boolean value)
|
void |
startThread()
|
void |
stop()
|
void |
tick()
|
| Method Detail |
|---|
void initialize()
throws java.lang.Exception
java.lang.Exceptionvoid tick()
void startThread()
void addTickable(ITick tickable)
void removeTickable(ITick tickable)
void stop()
throws java.lang.Exception
java.lang.Exception
void clear()
throws java.lang.Exception
java.lang.Exceptionlong getCurrentCycle()
void setLogger(LoggingTool logger)
logger - logger to usevoid setBeginningOfTime(long value)
value - cycle offset in millisecondslong getBeginnigOfTime()
long getCycleMillis()
void setCycleMillis(long cycleMillis)
cycleMillis - cycle length in millisecondsvoid setCurrentCycle(long cycle)
cycle - current cycleboolean isManual()
void setManual(boolean value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||