public class GridSimulationVisualizationObserver extends DefaultObserver implements ServerSimulationContextReceiver
Modifier and Type | Field and Description |
---|---|
String |
simulationName |
String |
tournamentName |
Constructor and Description |
---|
GridSimulationVisualizationObserver() |
Modifier and Type | Method and Description |
---|---|
void |
notifySimulationConfiguration(SimulationConfiguration simconf) |
void |
notifySimulationEnd() |
void |
notifySimulationStart() |
void |
notifySimulationState(SimulationState state) |
void |
setSimulationContext(ServerSimulationContext context) |
void |
start()
Tell the component to start activity.
|
void |
stop()
Tell the component to cease activity.
|
public String simulationName
public String tournamentName
public void notifySimulationStart()
notifySimulationStart
in interface Observer
notifySimulationStart
in class DefaultObserver
public void notifySimulationConfiguration(SimulationConfiguration simconf)
notifySimulationConfiguration
in interface Observer
notifySimulationConfiguration
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 start()
Component
start
in interface Component
start
in class DefaultObserver
public void stop()
Component
stop
in interface Component
stop
in class DefaultObserver
public void setSimulationContext(ServerSimulationContext context)
setSimulationContext
in interface ServerSimulationContextReceiver
Copyright © 2013. All Rights Reserved.