|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--com.renesys.raceway.SSF.Entity
|
+--SSF.OS.Timer
|
+--SSF.OS.OSPFv2.test.PacketGenerator.BehaviorTimer
This is a generalized timer class, which can be used to execute delayed actions for a specific test behavior. The timer has the test behavior and some behavior specific data associated with it and call a central event dispatcher, when it fires. This dispatcher then executes action routines dependent of the specified behavior.
| Inner classes inherited from class SSF.OS.Timer |
SSF.OS.Timer.TimerEvent |
| Field Summary | |
private int |
behavior
Behavior id |
private java.lang.Object |
data
Data associated with this timer. |
| 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 | |
PacketGenerator.BehaviorTimer(SSF.OS.ProtocolGraph e,
long dt,
int be,
java.lang.Object da)
Constructor for the behavior timer. |
|
| Method Summary | |
void |
callback()
Callback method, which calls the central event dispatcher. |
| Methods inherited from class SSF.OS.Timer |
|
| 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 |
private java.lang.Object data
private int behavior
| Constructor Detail |
public PacketGenerator.BehaviorTimer(SSF.OS.ProtocolGraph e,
long dt,
int be,
java.lang.Object da)
e - The ProtocolGraph, this PacketGenerator is belonging to.dt - Timer interval, in milliseconds (?).be - Behavior id, for the determination of the action routine.da - An arbitrary Object containing parameters for the action Routine.
This routine will cast the Object to the right data type.| Method Detail |
public void callback()
callback in class SSF.OS.Timer
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||