All Packages  This Package  Class Hierarchy  Class Search  Index

Class edu.utah.janos.ants.route.DynamicRouteEvent
java.lang.Object
   |
   +----edu.utah.janos.ants.route.DynamicRouteEvent

  Summary

class  DynamicRouteEvent
     extends java.lang.Object
{
          // Fields 9
     static final int EMPTY;
     static final int EXPIRE;
     static final int GC;
     static final int PERIODIC;
     static final int TRIGGER;
     int expireCount;
     int gcCount;
     int what;
     final long when;

          // Constructors 1
     DynamicRouteEvent(long, int);

}

A timer event affecting the DynamicRouteTable entries. %AUTHOR_PAT%

Author:
David Wetherall


  Cross Reference

Returned By:
DynamicRouteEvents.findFirstTimer(), DynamicRouteEvents.findTimer(), DynamicRouteEvents.setTimer()





  Fields

· EMPTY

Summary  |  Top
   static final int EMPTY

An EMPTY event. DynamicRouteEvents are never initialized with this value. They just decay to it after they expire.


· PERIODIC

Summary  |  Top
   static final int PERIODIC

The PERODIC event. These trigger periodically (duh) and send a full update to all neighbor gateways.


· TRIGGER

Summary  |  Top
   static final int TRIGGER

The TRIGGER event. Trigger events are scheduled for a short time in the future to propagate recent changes.


· GC

Summary  |  Top
   static final int GC

The GC event is triggered on a route when it is time for the route to be retired. Routes are first moved into a gc pool where they can be ressurected. Otherwise they will EXPIRE.


· EXPIRE

Summary  |  Top
   static final int EXPIRE

The EXPIRE event. This event is triggered on a route after its been placed in the GC pool and if it doesn't get resurrected. EXPIRED routes are deleted.


· when

Summary  |  Top
   final long when

Timestamp of when this event is scheduled to be invoked.


· what

Summary  |  Top
   int what

A set of flags indicating what sort of events this object implies (Periodic, trigger, expire, or GC).

This is mutable. Events may be added if they occur at the same time as a different event.


· expireCount

Summary  |  Top
   int expireCount

Let me know if you figure out what this does.


· gcCount

Summary  |  Top
   int gcCount

Let me know if you figure out what this does.


  Constructors

· DynamicRouteEvent

Summary  |  Top

   DynamicRouteEvent(long when, 
                     int what) 


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7