public class BroadcastObserver extends DefaultObserver
Constructor and Description |
---|
BroadcastObserver() |
Modifier and Type | Method and Description |
---|---|
void |
addObserver(Observer o) |
void |
notifySimulationConfiguration(SimulationConfiguration simconf) |
void |
notifySimulationEnd() |
void |
notifySimulationStart() |
void |
notifySimulationState(SimulationState state) |
void |
removeObserver(Observer o) |
start, stop
public void addObserver(Observer o)
public void removeObserver(Observer o)
public void notifySimulationStart()
notifySimulationStart
in interface Observer
notifySimulationStart
in class DefaultObserver
public void notifySimulationEnd()
notifySimulationEnd
in interface Observer
notifySimulationEnd
in class DefaultObserver
public void notifySimulationState(SimulationState state)
notifySimulationState
in interface Observer
notifySimulationState
in class DefaultObserver
public void notifySimulationConfiguration(SimulationConfiguration simconf)
notifySimulationConfiguration
in interface Observer
notifySimulationConfiguration
in class DefaultObserver
Copyright © 2013. All Rights Reserved.