Sim
Interface SimulationEvent

All Known Implementing Classes:
AckWaiter, BroadcastEvent, RouteRepairTimeout, RouteRequestBackoffEvent, RREQTimeOutEvent, TrafficGenerator

public interface SimulationEvent

SimulationEvent represents an executable event in the Simulation.


Method Summary
 void perform(Simulation sim, double time)
          Performs the event that is occuring within a Simulation.
 

Method Detail

perform

void perform(Simulation sim,
             double time)
Performs the event that is occuring within a Simulation. If an event wishes to re-execute later, it may schedule itself again using the provided Simulation reference.

Parameters:
sim - non-null Simulation
time - simulation time, exactly equal to the result of Simulation.getTime()