Sim.Routing.Champ
Class RouteRequestBackoffEvent

java.lang.Object
  extended by Sim.Routing.Champ.RouteRequestBackoffEvent
All Implemented Interfaces:
SimulationEvent

public class RouteRequestBackoffEvent
extends java.lang.Object
implements SimulationEvent


Constructor Summary
RouteRequestBackoffEvent(ChampAlgorithm champ, HardwareFrame toSendLater, Node nodeToSendFrom)
          Creates a new instance of RouteRequestBackoffEvent
 
Method Summary
 void perform(Simulation sim, double time)
          Performs the event that is occuring within a Simulation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RouteRequestBackoffEvent

public RouteRequestBackoffEvent(ChampAlgorithm champ,
                                HardwareFrame toSendLater,
                                Node nodeToSendFrom)
Creates a new instance of RouteRequestBackoffEvent

Method Detail

perform

public void perform(Simulation sim,
                    double time)
Description copied from interface: SimulationEvent
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.

Specified by:
perform in interface SimulationEvent
Parameters:
sim - non-null Simulation
time - simulation time, exactly equal to the result of Simulation.getTime()