public class SourceSimulationStatus extends Object
Modifier and Type | Class and Description |
---|---|
private class |
SourceSimulationStatus.ClientSender |
Modifier and Type | Field and Description |
---|---|
private SourceSimulationStatus.ClientSender |
_clientSender |
private ClientDavInterface |
_connection |
private DataDescription |
_dataDescription |
private static Debug |
_debug
DebugLogger für Debug-Ausgaben
|
(package private) SystemObject |
_simulationObject |
private Object |
_stateLock |
(package private) boolean |
_subscribed |
Constructor and Description |
---|
SourceSimulationStatus(ClientDavInterface connection,
SystemObject simulationObject,
short simulationVariant)
Erzeugt das Objekt und meldt sich als Sender für die Attributgruppe "atg.simulationsStatusKonfiguration" als Quelle an.
|
Modifier and Type | Method and Description |
---|---|
private void |
sendData(Data data) |
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.
|
private final ClientDavInterface _connection
private final DataDescription _dataDescription
private final Object _stateLock
private final SourceSimulationStatus.ClientSender _clientSender
SystemObject _simulationObject
private static final Debug _debug
boolean _subscribed
public SourceSimulationStatus(ClientDavInterface connection, SystemObject simulationObject, short simulationVariant) throws OneSubscriptionPerSendData
connection
- Verbidnung, auf der sich angemeldet wirdsimulationObject
- Objekt, mit dem der Sender angemeldet wirdsimulationVariant
- Simulationsvariante, mit der sich der Sender anmeldetOneSubscriptionPerSendData
public void sendReady() throws SendSubscriptionNotConfirmed
SendSubscriptionNotConfirmed
public void sendNotReady() throws SendSubscriptionNotConfirmed
SendSubscriptionNotConfirmed
public void sendDelete() throws SendSubscriptionNotConfirmed
SendSubscriptionNotConfirmed
public void unsubscribe()
private void sendData(Data data) throws SendSubscriptionNotConfirmed
SendSubscriptionNotConfirmed