|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--SSF.OS.ProtocolSession
|
+--SSF.App.Worm.MacroscopicModelConfigurator
|
+--SSF.App.Worm.WormProtocolSession
Models the worm infestation in a single host. Connects to the global epidemic model to receive infection trigger. See config() method for more information on how to set the parameters for the epidemic model.
| Nested Class Summary |
| Nested classes inherited from class SSF.App.Worm.MacroscopicModelConfigurator |
MacroscopicModelConfigurator.MacroModelTimer |
| Field Summary |
| Fields inherited from class SSF.OS.ProtocolSession |
name, use |
| Constructor Summary | |
WormProtocolSession()
Methods |
|
| Method Summary | |
void |
becomeInfected()
Make this host become infected. |
void |
config(com.renesys.raceway.DML.Configuration cfg)
Configure WormProtocolSession. |
byte |
getState()
Get epidemiological state. |
void |
init()
Initalize (after config phase). |
boolean |
push(ProtocolMessage msg,
ProtocolSession fromSessn)
Do nothing. |
| Methods inherited from class SSF.App.Worm.MacroscopicModelConfigurator |
configEpidemic, configGlobalOptions, getSimTime, init_macroscopic, update |
| 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 WormProtocolSession()
| Method Detail |
public void init()
init in class ProtocolSession
public void config(com.renesys.raceway.DML.Configuration cfg)
throws com.renesys.raceway.DML.configException
REQUIRED ATTRIBUTES:
OPTIONAL ATTRIBUTES:
Whenever the WormProtocolSession or GatewayProtocolSession is used, the outermost Net must have a global definition of the worm_model [ ... ] attribute. The worm_model attributes are as follows:
config in interface com.renesys.raceway.DML.Configurableconfig in class ProtocolSessioncom.renesys.raceway.DML.configExceptionfor more
details.
public boolean push(ProtocolMessage msg,
ProtocolSession fromSessn)
push in class ProtocolSessionpublic void becomeInfected()
public byte getState()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||