net.simplace.simulation.event.FWSimulationEvent
Model event is created for start and end of a model run and for exceptional cases.
Within the FWSimulationListener implementation all data available in the model can be accessed and
modified.
For implementation method FWSimulationListener,
FWSimulationListener and FWSimulationListener.simulationErrored(FWSimulationErrorEvent) have to
be implemented.
FWSimulationErrorEvent extends this class and contains additional exception information.
public class FWSimulationEvent {
// Public Constructors
public FWSimulationEvent(Object aSourceObject, Integer aPercentage);
// Public Instance Methods public boolean isSimulationEvent();
public boolean isProjectEvent();
public boolean isIterationEvent();
public int getPercentage();
}
Extended by: FWSimulationErrorEvent
Passed to: net.simplace.processors.LoopSimModelRunProcessor.iterationEnded(), FWSimulationListener.iterationEnded(), net.simplace.processors.LoopSimModelRunProcessor.projectEnded(), FWSimulationListener.projectEnded(), net.simplace.processors.LoopSimModelRunProcessor.simulationEnded(), FWSimulationListener.simulationEnded(), net.simplace.processors.LoopSimModelRunProcessor.simulationStarted(), FWSimulationListener.simulationStarted()