SSF.OS.OSPFv2
Class Interface.PacingTimer

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

public class Interface.PacingTimer
extends Timer

A timer used to pace LS Update Packets when first flooded out this interface. The LSAs are stored in the "Neighbor.pacingFloodList" before first sent out. Thereafter, they are transferred to the "Neighbor.lsRetransList".


Constructor Summary
Interface.PacingTimer(OSPF o, long dt)
           
 
Method Summary
 void addLSA(LSA floodLSA, int neighborID)
          Determine the neighbors to which a new LSA must be flooded out and put it on the neighbors pacingFloodList.
 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.PacingTimer

public Interface.PacingTimer(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

addLSA

public void addLSA(LSA floodLSA,
                   int neighborID)
Determine the neighbors to which a new LSA must be flooded out and put it on the neighbors pacingFloodList. And set the timer if necessary. This method implements RFC 2328 chapter 13.3 (1).

Parameters:
floodLSA - An LSA that may be flooded out this interface.
neighborID - int value, identifying the neighbor from whom the LSA was received.