public class DispatchingSimulationObserver extends Object implements IStatusObserver
Constructor and Description |
---|
DispatchingSimulationObserver() |
Modifier and Type | Method and Description |
---|---|
void |
addObserver(IStatusObserver client) |
void |
removeAll() |
void |
removeObserver(IStatusObserver client) |
void |
updateStatus(int percentDone,
double currentSimTime,
long measurementsTaken)
Notification call informing the observer about the simulation progess in percent done
|
public void addObserver(IStatusObserver client)
public void removeObserver(IStatusObserver client)
public void removeAll()
public void updateStatus(int percentDone, double currentSimTime, long measurementsTaken)
IStatusObserver
updateStatus
in interface IStatusObserver
percentDone
- Percentage of the maximum simulation time which has passed