de.bsvrz.puk.config.main.simulation
Class SourceSimulationStatus

java.lang.Object
  extended by de.bsvrz.puk.config.main.simulation.SourceSimulationStatus

public class SourceSimulationStatus
extends Object

Diese Klasse meldet sich als Quelle für die Attributgruppe "atg.simulationsStatusKonfiguration" an und stellt verschiedene Methoden zur Verfügung mit denen festgelegte Datensätze verschickt werden können.

Author:
Achim Wullenkord (AW), Kappich Systemberatung

Constructor Summary
SourceSimulationStatus(ClientDavInterface connection, SystemObject simulationObject, short simulationVariant)
          Erzeugt das Objekt und meldt sich als Sender für die Attributgruppe "atg.simulationsStatusKonfiguration" als Quelle an.
 
Method Summary
 void sendDelete()
          Verschickt einen Datensatz, der den Empfänger mitteiler, dass das Simulationobjekt gelöscht werden kann (TPuK1-126).
 void sendNotReady()
           
 void sendReady()
           
 void unsubscribe()
          Meldet den Sender ab.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceSimulationStatus

public SourceSimulationStatus(ClientDavInterface connection,
                              SystemObject simulationObject,
                              short simulationVariant)
                       throws OneSubscriptionPerSendData
Erzeugt das Objekt und meldt sich als Sender für die Attributgruppe "atg.simulationsStatusKonfiguration" als Quelle an.

Parameters:
connection - Verbidnung, auf der sich angemeldet wird
simulationObject - Objekt, mit dem der Sender angemeldet wird
simulationVariant - Simulationsvariante, mit der sich der Sender anmeldet
Throws:
OneSubscriptionPerSendData
Method Detail

sendReady

public void sendReady()
               throws SendSubscriptionNotConfirmed
Throws:
SendSubscriptionNotConfirmed

sendNotReady

public void sendNotReady()
                  throws SendSubscriptionNotConfirmed
Throws:
SendSubscriptionNotConfirmed

sendDelete

public void sendDelete()
                throws SendSubscriptionNotConfirmed
Verschickt einen Datensatz, der den Empfänger mitteiler, dass das Simulationobjekt gelöscht werden kann (TPuK1-126).

Throws:
SendSubscriptionNotConfirmed

unsubscribe

public void unsubscribe()
Meldet den Sender ab. Wurde der Sender bereits abgemeldet, wurd nichts gemacht. Wird nach Abmeldung weiter versucht Daten zu verschicken, werden diese nicht verschickt.