avrora.sim
Interface Simulation.Monitor

All Known Implementing Classes:
SingleNodeMonitor, VisualStackMonitor
Enclosing interface:
Simulation

public static interface Simulation.Monitor

The Monitor interface represents a monitor for a simulation. A monitor can be attached to one or more nodes in the simulation. When the nodes are instantiated, the monitor will be called to add instrumentation to the nodes in whatever way is necessary. When the node finishes execution, the monitor will be called to tear down any data structures and make any reports necessary to the user.


Method Summary
 void attach(Simulation sim, java.util.List nodes)
           
 void construct(Simulation sim, Simulation.Node n, Simulator s)
           
 void destruct(Simulation sim, Simulation.Node n, Simulator s)
           
 void remove(Simulation sim, java.util.List nodes)
           
 

Method Detail

attach

public void attach(Simulation sim,
                   java.util.List nodes)

construct

public void construct(Simulation sim,
                      Simulation.Node n,
                      Simulator s)

destruct

public void destruct(Simulation sim,
                     Simulation.Node n,
                     Simulator s)

remove

public void remove(Simulation sim,
                   java.util.List nodes)