|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Simulation
The Simulation class has static methods for running a network simulation. The main() method provides the main program for a simulation. The getCurrentTime() method provides access to the simulation time. The getEventQueue() method provides access to the event queue for adding new events. The log() method provides timestamped output functionality.
Method Summary | |
static int |
getCurrentTime()
Simulation.getCurrentTime() returns the current time for this simulation. |
static EventQueue |
getEventQueue()
Simulation.getEventQueue() returns the EventQueue used in this simulation. |
static void |
log(java.lang.String msg)
Simulation.log(msg) sends msg, prefixed with a timestamp, to standard output. |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static EventQueue getEventQueue()
public static int getCurrentTime()
public static void log(java.lang.String msg)
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |