Class DebugObserver
- java.lang.Object
-
- de.uka.ipd.sdq.simucomframework.simulationdock.DebugObserver
-
- All Implemented Interfaces:
IStatusObserver
public class DebugObserver extends Object implements IStatusObserver
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.apache.log4j.LoggerLOGGER
-
Constructor Summary
Constructors Constructor Description DebugObserver(org.osgi.service.event.EventAdmin eventAdmin, SimulationDockService myDock)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidresume()voidstep()voidsuspend()voidupdateStatus(int percentDone, double currentSimTime, long measurementsTaken)Notification call informing the observer about the simulation progess in percent done
-
-
-
Constructor Detail
-
DebugObserver
public DebugObserver(org.osgi.service.event.EventAdmin eventAdmin, SimulationDockService myDock)
-
-
Method Detail
-
suspend
public void suspend()
-
resume
public void resume()
-
step
public void step()
-
updateStatus
public void updateStatus(int percentDone, double currentSimTime, long measurementsTaken)Description copied from interface:IStatusObserverNotification call informing the observer about the simulation progess in percent done- Specified by:
updateStatusin interfaceIStatusObserver- Parameters:
percentDone- Percentage of the maximum simulation time which has passed
-
-