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.Logger
LOGGER
-
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 void
resume()
void
step()
void
suspend()
void
updateStatus(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: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
-
-