Class SimulationProgressReportingObserver
java.lang.Object
de.uka.ipd.sdq.simucomframework.simulationdock.SimulationProgressReportingObserver
- All Implemented Interfaces:
IStatusObserver
-
Constructor Summary
ConstructorDescriptionSimulationProgressReportingObserver
(AbstractSimulationConfig config, org.osgi.service.event.EventAdmin eventAdmin, SimulationDockService dock) -
Method Summary
Modifier and TypeMethodDescriptionvoid
updateStatus
(int percentDone, double currentSimTime, long measurementsTaken) Notification call informing the observer about the simulation progess in percent done
-
Constructor Details
-
SimulationProgressReportingObserver
public SimulationProgressReportingObserver(AbstractSimulationConfig config, org.osgi.service.event.EventAdmin eventAdmin, SimulationDockService dock)
-
-
Method Details
-
updateStatus
public void updateStatus(int percentDone, double currentSimTime, long measurementsTaken) Description copied from interface:IStatusObserver
Notification call informing the observer about the simulation progess in percent done- Specified by:
updateStatus
in interfaceIStatusObserver
- Parameters:
percentDone
- Percentage of the maximum simulation time which has passed
-