Class SimulationProgressReportingObserver
- java.lang.Object
-
- de.uka.ipd.sdq.simucomframework.simulationdock.SimulationProgressReportingObserver
-
- All Implemented Interfaces:
IStatusObserver
public class SimulationProgressReportingObserver extends Object implements IStatusObserver
-
-
Constructor Summary
Constructors Constructor Description SimulationProgressReportingObserver(AbstractSimulationConfig config, org.osgi.service.event.EventAdmin eventAdmin, SimulationDockService dock)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
updateStatus(int percentDone, double currentSimTime, long measurementsTaken)
Notification call informing the observer about the simulation progess in percent done
-
-
-
Constructor Detail
-
SimulationProgressReportingObserver
public SimulationProgressReportingObserver(AbstractSimulationConfig config, org.osgi.service.event.EventAdmin eventAdmin, SimulationDockService dock)
-
-
Method Detail
-
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
-
-