de.bsvrz.vew.sim.sim.simulation
Class OnlineSimulation

java.lang.Object
  extended by de.bsvrz.vew.sim.sim.simulation.Simulation
      extended by de.bsvrz.vew.sim.sim.simulation.OnlineSimulation
All Implemented Interfaces:
de.bsvrz.dav.daf.main.ClientReceiverInterface, EmpfaengerMitAnAbmeldung, EmpfaengerMitAnmeldung

public class OnlineSimulation
extends Simulation

Modelliert die Online-Simulation als Empfänger -und Sender von Verwaltungsinformationen und als endlicher Automat

Version:
$Revision: 1.3 $ / $Date: 2008/10/31 13:30:30 $ / ($Author: Sans $)
Author:
Dambach-Werke GmbH, Stefan Sans

Nested Class Summary
 
Nested classes/interfaces inherited from class de.bsvrz.vew.sim.sim.simulation.Simulation
Simulation.ZustandsBezeichner
 
Field Summary
 
Fields inherited from class de.bsvrz.vew.sim.sim.simulation.Simulation
ARC_STATUS_AKTIV, ARC_STATUS_NICHT_AKTIV, KONFIG_STATUS_BEREIT, KONFIG_STATUS_GELOESCHT, KONFIG_STATUS_NICHT_BEREIT, PARAM_STATUS_AKTIV, PARAM_STATUS_NICHT_AKTIV
 
Constructor Summary
OnlineSimulation(de.bsvrz.dav.daf.main.config.SystemObject obj, short sv, SimulationsStrecke ss, de.bsvrz.dav.daf.main.ClientDavInterface con, Simulation.ZustandsBezeichner anfangsZustand)
          Erzeugt eine neue Instanz vom Typ OnlineSimulation
 
Method Summary
 void abmelden()
          Abmelden aller Datenidentifikationen für diese Instanz und das zugeordnete Systemobjekt
 void anmelden()
          Anmelden aller Datenidentifikationen für diese Instanz und das zugeordnete Systemobjekt
protected  EndlicherAutomat getEndlicherAutomat()
          Bestimmt den endlichen Automaten
 SteuerungSimulation getSteuerung()
          Bestimmt die Steuerungsinstanz
 void update(de.bsvrz.dav.daf.main.ResultData[] resultData)
           
 
Methods inherited from class de.bsvrz.vew.sim.sim.simulation.Simulation
getConnection, getName, getObjekt, getSimulationsStrecke, getSimulationsVariante, getStatusArchiv, getStatusKonfiguration, getStatusParametrierung, getVarianteFuerSimulation, getZustand, sendeAlsQuelle, setZustand, setZustand, starteZustandswechsel, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OnlineSimulation

public OnlineSimulation(de.bsvrz.dav.daf.main.config.SystemObject obj,
                        short sv,
                        SimulationsStrecke ss,
                        de.bsvrz.dav.daf.main.ClientDavInterface con,
                        Simulation.ZustandsBezeichner anfangsZustand)
Erzeugt eine neue Instanz vom Typ OnlineSimulation

Parameters:
obj - das dynamische Simulationsobjekt
sv - die Simulationsvariante
ss - die Simulationsstrecke (Klasse Simulationsstrecke)
con - die Datenverteiler-Verbindung
anfangsZustand - der Anfangszustand
Method Detail

getSteuerung

public SteuerungSimulation getSteuerung()
Description copied from class: Simulation
Bestimmt die Steuerungsinstanz

Specified by:
getSteuerung in class Simulation
Returns:
die Steuerungsinstanz für diese Simulation

getEndlicherAutomat

protected EndlicherAutomat getEndlicherAutomat()
Description copied from class: Simulation
Bestimmt den endlichen Automaten

Specified by:
getEndlicherAutomat in class Simulation
Returns:
den endlichen Automaten für diese Instanz

anmelden

public void anmelden()
Description copied from interface: EmpfaengerMitAnmeldung
Anmelden aller Datenidentifikationen für diese Instanz und das zugeordnete Systemobjekt

Specified by:
anmelden in interface EmpfaengerMitAnmeldung
Overrides:
anmelden in class Simulation

abmelden

public void abmelden()
Description copied from interface: EmpfaengerMitAnAbmeldung
Abmelden aller Datenidentifikationen für diese Instanz und das zugeordnete Systemobjekt

Specified by:
abmelden in interface EmpfaengerMitAnAbmeldung
Overrides:
abmelden in class Simulation

update

public void update(de.bsvrz.dav.daf.main.ResultData[] resultData)
Specified by:
update in interface de.bsvrz.dav.daf.main.ClientReceiverInterface
Overrides:
update in class Simulation