|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.environment.time.simulated.DirectTimeSource
DESCRIBE THE CLASS
Constructor Summary | |
DirectTimeSource(long time)
Constructor for DirectTimeSource. |
|
DirectTimeSource(long time,
java.lang.String instance)
Constructor for DirectTimeSource. |
|
DirectTimeSource(Parameters p)
Constructor for DirectTimeSource. |
Method Summary | |
long |
currentTimeMillis()
DESCRIBE THE METHOD |
void |
incrementTime(int millis)
DESCRIBE THE METHOD |
void |
setLogManager(LogManager manager)
Sets the LogManager attribute of the DirectTimeSource object |
void |
setTime(long newTime)
Sets the Time attribute of the DirectTimeSource object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DirectTimeSource(long time)
time
- DESCRIBE THE PARAMETERpublic DirectTimeSource(long time, java.lang.String instance)
time
- DESCRIBE THE PARAMETERinstance
- DESCRIBE THE PARAMETERpublic DirectTimeSource(Parameters p)
p
- DESCRIBE THE PARAMETERMethod Detail |
public void setLogManager(LogManager manager)
manager
- The new LogManager valuepublic void setTime(long newTime)
newTime
- The new Time valuepublic long currentTimeMillis()
currentTimeMillis
in interface TimeSource
public void incrementTime(int millis)
millis
- DESCRIBE THE PARAMETER
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |