|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EventListener
The EventListener interface is implemented by classes that will register with a Simulator to receive notification when changes occur in a model's state and output.
Simulator
Method Summary | |
---|---|
void |
outputEvent(Event x,
double t)
This method is called when a model produces an output. |
void |
stateChange(Atomic model,
double t)
This method is called immediately after an Atomic model changes its state. |
Method Detail |
---|
void outputEvent(Event x, double t)
x
- An Event holding the model that produced the output and the output itselft
- The time that the output occurredEvent
void stateChange(Atomic model, double t)
model
- The model that changed statet
- The time at which the change occurredAtomic
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |