Sim.Routing.Champ
Class RREQTimeOutEvent

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

public class RREQTimeOutEvent
extends java.lang.Object
implements SimulationEvent


Constructor Summary
RREQTimeOutEvent(HardwareFrame rreq, HardwareFrame frame, HardwareFrame error, boolean original, RouteRequested route, RouteCache routeCache, Node myNode)
          Creates a new instance of RREQTimeOutEvent
 
Method Summary
 boolean isOriginal()
           
 void perform(Simulation sim, double time)
          Performs the event that is occuring within a Simulation.
 void setOriginal(boolean original)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RREQTimeOutEvent

public RREQTimeOutEvent(HardwareFrame rreq,
                        HardwareFrame frame,
                        HardwareFrame error,
                        boolean original,
                        RouteRequested route,
                        RouteCache routeCache,
                        Node myNode)
Creates a new instance of RREQTimeOutEvent

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()

isOriginal

public boolean isOriginal()

setOriginal

public void setOriginal(boolean original)