public class SubscriptionWithHistory extends Object
Modifier and Type | Field and Description |
---|---|
private boolean |
_actualDataAvailable
Signalisiert, dass mindenstens eine Aktuallisierung der Onlinedaten erfolgt ist
|
private byte |
_historyRequestsNumber
Anzahl der angestossenen Archive Anfragen.
|
private ReceiverSubscription |
_receiverSubscription
Die Empfangsanmeldung
|
Constructor and Description |
---|
SubscriptionWithHistory(ReceiverSubscription receiverSubscription)
Erzeugt ein neues objekt mit den gegebenen Parametern.
|
SubscriptionWithHistory(ReceiverSubscription receiverSubscription,
boolean actualDataAvailable)
Erzeugt ein neues objekt mit den gegebenen Parametern.
|
Modifier and Type | Method and Description |
---|---|
void |
actualDataUpdate()
Aktualisiert die Zeitintervalle und markiert die Onlinedatenaktualisierung
|
byte |
getHistoryUpdatesNumber()
Gibt an, ob schonmal eine Archivedatenaktualisierung erfolgt ist
|
ReceiverSubscription |
getReceiverSubscription()
Gibt die Empfangsanmeldung zurück
|
boolean |
getUpdateState()
Gibt an, ob eine Aktualisierung der Onlinedaten und Archivedaten erfolgt ist
|
void |
historyDataUpdate()
Aktualisiert die Zeitintervalle und markiert die Archivdatenaktualisierung
|
private ReceiverSubscription _receiverSubscription
private boolean _actualDataAvailable
private byte _historyRequestsNumber
public SubscriptionWithHistory(ReceiverSubscription receiverSubscription)
receiverSubscription
- Empfangsanmeldungpublic SubscriptionWithHistory(ReceiverSubscription receiverSubscription, boolean actualDataAvailable)
receiverSubscription
- EmpfangsanmeldungactualDataAvailable
- mindestes ein datensatz ist onlinepublic final ReceiverSubscription getReceiverSubscription()
public final boolean getUpdateState()
true:
Aktualisierung der Onlinedaten und Archivedaten erfolgt, false:
Aktualisierung nicht erfolgtpublic final void actualDataUpdate()
public final void historyDataUpdate()
public final byte getHistoryUpdatesNumber()