|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--SSF.OS.ProtocolSession
|
+--SSF.OS.BGP4.Widgets.Advertiser
A test class, masquerading as a ProtocolSession, for injecting a given workload into the system. Workload is specified in a special file, which is passed as an argument in the DML file.
| Field Summary |
| Fields inherited from class SSF.OS.ProtocolSession |
name, use |
| Constructor Summary | |
Advertiser()
We must have a zero-argument, public constructor (so that newInstance() can be used to create a new
Advertiser instance). |
|
| Method Summary | |
void |
config(com.renesys.raceway.DML.Configuration cfg)
Set the configurable values (specified in DML file). |
void |
init()
Creates an SSF process which parses the workload file, and withdraws or announces at specified timestamps. |
double |
now()
Returns the current simulation time. |
boolean |
push(ProtocolMessage message,
ProtocolSession fromSession)
Handles incoming events. |
| Methods inherited from class SSF.OS.ProtocolSession |
close, closed, debugIdentifier, inGraph, open, opened, pushAfterDelay, pushAfterDelayFailed, setGraph, version |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Advertiser()
newInstance() can be used to create a new
Advertiser instance).
| Method Detail |
public void config(com.renesys.raceway.DML.Configuration cfg)
throws com.renesys.raceway.DML.configException
config in interface com.renesys.raceway.DML.Configurableconfig in class ProtocolSessioncom.renesys.raceway.DML.configException - if any of the calls to find
or findSingle throw such an
exception.public void init()
init in class ProtocolSessionpublic double now()
public boolean push(ProtocolMessage message,
ProtocolSession fromSession)
push in class ProtocolSession
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||