SSF.OS.OSPFv2
Class Interface.BeforeElectionTimer

java.lang.Object
  |
  +--com.renesys.raceway.SSF.Entity
        |
        +--SSF.OS.Timer
              |
              +--SSF.OS.OSPFv2.Interface.BeforeElectionTimer
Enclosing class:
Interface

public class Interface.BeforeElectionTimer
extends Timer

/* The BeforeElectionTimer waits for an HelloPacket which tells the interface who is DR and BDR. If there is no such a packet before expiring, the interface will go to election state and elect DR and BDR. The length of the timer is RouterDeadInterval seconds.


Constructor Summary
Interface.BeforeElectionTimer(OSPF o, long dt)
           
 
Method Summary
 void callback()
          Action to be taken upon expiration if the timer has not been cancelled.
 
Methods inherited from class SSF.OS.Timer
cancel, isCancelled, set, set
 
Methods inherited from class com.renesys.raceway.SSF.Entity
alignment, alignTo, coalignedEntities, inChannels, init, joinAll, makeIndependent, now, outChannels, pauseAll, playRole, processes, resetSimulation, resumeAll, startAll, startAll, startClient, startClient, startServer, Vx, Yx
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Interface.BeforeElectionTimer

public Interface.BeforeElectionTimer(OSPF o,
                                     long dt)
Method Detail

callback

public void callback()
Action to be taken upon expiration if the timer has not been cancelled.

Specified by:
callback in class Timer