public interface VirtualClockHelper
extends jade.core.ServiceHelper
| Modifier and Type | Method and Description |
|---|---|
void |
execute(jade.core.Agent a,
java.lang.Runnable b)
Execute.
|
double |
getCurrentTime(TimeUnit unit)
Gets the current time.
|
void |
schedule(jade.core.Agent a,
java.lang.Runnable b,
long wakeupTime)
Schedule.
|
void |
updateClock()
Update clock.
|
void |
updateClock(long units)
Update clock.
|
void updateClock(long units)
units - the unitsvoid updateClock()
double getCurrentTime(TimeUnit unit)
unit - the unitvoid schedule(jade.core.Agent a,
java.lang.Runnable b,
long wakeupTime)
a - the ab - the bwakeupTime - the wakeup timevoid execute(jade.core.Agent a,
java.lang.Runnable b)
a - the ab - the b