SSF.OS.OSPFv2.test
Class Reset.ResetTimer

java.lang.Object
  |
  +--com.renesys.raceway.SSF.Entity
        |
        +--SSF.OS.Timer
              |
              +--SSF.OS.OSPFv2.test.Reset.ResetTimer
Enclosing class:
Reset

class Reset.ResetTimer
extends SSF.OS.Timer

Stops and starts an OSPF session.


Inner classes inherited from class SSF.OS.Timer
SSF.OS.Timer.TimerEvent
 
Field Summary
private  int action
          START or STOP
private  long expires
          When does this timer expire
 
Fields inherited from class SSF.OS.Timer
chainedTo, delay, expiration, fromSelf, timer_for_entity, toSelf
 
Fields inherited from class com.renesys.raceway.SSF.Entity
$, v, x, X, y
 
Constructor Summary
Reset.ResetTimer(SSF.OS.ProtocolGraph e, long dt, int act)
          Constructs a ResetTimer.
Reset.ResetTimer(SSF.OS.ProtocolGraph e, Reset.TimerConfiguration cfg)
          Constructs a ResetTimer.
 
Method Summary
 void callback()
          Callback method, which calls the central event dispatcher.
 void start()
          Starts this timer
 
Methods inherited from class SSF.OS.Timer
, cancel, isCancelled, set, set, set
 
Methods inherited from class com.renesys.raceway.SSF.Entity
alignment, alignTo, coalignedEntities, inChannels, init, joinAll, makeIndependent, now, outChannels, pauseAll, playRole, processes, resumeAll, startAll, startAll, startClient, startClient, startServer, W, Z
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

action

private int action
START or STOP

expires

private long expires
When does this timer expire
Constructor Detail

Reset.ResetTimer

public Reset.ResetTimer(SSF.OS.ProtocolGraph e,
                        long dt,
                        int act)
Constructs a ResetTimer.
Parameters:
e - The protocol graph this timer belongs to.
dt - Time period.
act - Determines if this timer describes a START or a STOP event.

Reset.ResetTimer

public Reset.ResetTimer(SSF.OS.ProtocolGraph e,
                        Reset.TimerConfiguration cfg)
Constructs a ResetTimer.
Parameters:
e - The protocol graph this timer belongs to.
cfg - Timer configuration.
Method Detail

start

public void start()
Starts this timer

callback

public void callback()
Callback method, which calls the central event dispatcher.
Overrides:
callback in class SSF.OS.Timer