ePOST API

rice.environment.time.simulated
Class DirectTimeSource

java.lang.Object
  extended by rice.environment.time.simulated.DirectTimeSource
All Implemented Interfaces:
TimeSource

public class DirectTimeSource
extends java.lang.Object
implements TimeSource


Constructor Summary
DirectTimeSource(long time)
           
DirectTimeSource(long time, java.lang.String instance)
           
DirectTimeSource(Parameters p)
           
 
Method Summary
 long currentTimeMillis()
           
 void incrementTime(int millis)
           
 void setLogManager(LogManager manager)
           
 void setTime(long newTime)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectTimeSource

public DirectTimeSource(long time)

DirectTimeSource

public DirectTimeSource(long time,
                        java.lang.String instance)

DirectTimeSource

public DirectTimeSource(Parameters p)
Method Detail

setLogManager

public void setLogManager(LogManager manager)

currentTimeMillis

public long currentTimeMillis()
Specified by:
currentTimeMillis in interface TimeSource
Returns:
the current time in millis

setTime

public void setTime(long newTime)

incrementTime

public void incrementTime(int millis)

ePOST API

Copyright © 2001-2005 - Rice Pastry.