Class Interface.BeforeElectionTimer

Enclosing class:

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


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


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

Specified by:
callback in class Timer