|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mitre.sim.api3.flow.threads.ThreadData
org.mitre.sim.api3.exec.LogicalProcess
org.mitre.sim.api3.Entity
org.mitre.sim.api3.PeriodicEntity
Used to generate SimEvents
at
a specifed simulation time interval.
Copyright © 2003-2004 The MITRE Corporation
Field Summary |
Fields inherited from class org.mitre.sim.api3.flow.threads.ThreadData |
elaborated, launched, stop, thread |
Constructor Summary | |
PeriodicEntity(double period)
Instance produces an event stream with the specified period. |
|
PeriodicEntity(double period,
java.lang.String myName)
Named instance produces an event stream with the specified period. |
Method Summary | |
void |
addSimEventListener(SimEventListener sel)
Begin supplying events to the specified listener. |
void |
agenda()
Event generation and dissemination mechanism. |
void |
removeSimEventListener(SimEventListener sel)
Stop supplying events to the specified listener. |
Methods inherited from class org.mitre.sim.api3.Entity |
actionMethodNotifier, createPopulation, displayEntities, entityComplete, entityIsAlive, exceptionHandler, getLogger, getName, getTimeLast, getTimeNow, info, msg, register, schedule, schedule, setTimeLast, stopSimulation, toString, waitForAction, waitForActionOrTrigger, waitForActionOrTrigger, waitForActionOrTrigger, waitForTime |
Methods inherited from class org.mitre.sim.api3.exec.LogicalProcess |
getActionOccurred, getCurrentTriggers, getExec, getExecutive, getNextTime, getSelectedTrigger, getState, getTriggerOccurred, isWaiting, run, setActionOccurred, setCurrentTriggers, setExecutive, setLogger, setNextTime, setSelectedTrigger, setState, setTriggerOccurred, stateEquals |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PeriodicEntity(double period)
period
- Amount of simulation time between events.Entity.Entity(String)
,
Simulation.register(Entity)
,
Entity.register(Entity)
public PeriodicEntity(double period, java.lang.String myName)
msg
and toString
.
period
- Amount of simulation time between events.myName
- Any string value that is useful to identity this entity.Entity.Entity(String)
,
Simulation.register(Entity)
,
Entity.register(Entity)
Method Detail |
public final void addSimEventListener(SimEventListener sel)
sel
- Listener to be added.public final void removeSimEventListener(SimEventListener sel)
sel
- Listener to be removed.public final void agenda()
agenda
in class Entity
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |