avrora.sim.util
Class InterruptScheduler.ScheduledInterrupt

java.lang.Object
  extended byavrora.sim.util.InterruptScheduler.ScheduledInterrupt
All Implemented Interfaces:
Simulator.Event
Enclosing class:
InterruptScheduler

public class InterruptScheduler.ScheduledInterrupt
extends java.lang.Object
implements Simulator.Event

The ScheduledInterrupt class is an event that is inserted into the queue of a simulator. When the event fires, it will force the interrupt to be posted and then it will schedule the next interrupt.


Field Summary
 int vec
           
 
Constructor Summary
InterruptScheduler.ScheduledInterrupt(int i)
           
 
Method Summary
 void fire()
          The fire() method is called when the event to which it is tied happens with in the simulator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

vec

public final int vec
Constructor Detail

InterruptScheduler.ScheduledInterrupt

public InterruptScheduler.ScheduledInterrupt(int i)
Method Detail

fire

public void fire()
Description copied from interface: Simulator.Event
The fire() method is called when the event to which it is tied happens with in the simulator.

Specified by:
fire in interface Simulator.Event