public class LocalSendingSubscription extends java.lang.Object implements LocalSubscription, SendingSubscription
| Constructor and Description |
|---|
LocalSendingSubscription(SubscriptionsManager subscriptionsManager,
de.bsvrz.dav.daf.communication.lowLevel.telegrams.BaseSubscriptionInfo baseSubscriptionInfo,
boolean source,
boolean requestSupported,
ApplicationCommunicationInterface applicationConnection) |
| Modifier and Type | Method and Description |
|---|---|
de.bsvrz.dav.daf.communication.protocol.UserLogin |
getAuthenticationState()
Gibt die Id des angemeldeten Benutzers zurück.
|
de.bsvrz.dav.daf.communication.lowLevel.telegrams.BaseSubscriptionInfo |
getBaseSubscriptionInfo()
Gibt die Objekt-Attributgruppenverwendung-Simulationsvariante-Kombination zurück, auf die diese Anmeldung stattfindet
|
long |
getCentralDistributorId()
Gibt die Zentraldatenverteiler-ID zurück.
|
ApplicationCommunicationInterface |
getCommunication()
Gibt die Schnittstelle zum Kommunikationspartner zurück, also z.B. eine T_A oder T_T-Verbindung
|
ConnectionState |
getConnectionState()
Gibt den Verbindungsstatus zum Kommunikationspartner zurück
|
long |
getNodeId()
Liefert die Id der anmeldenden Applikation bzw. des anmeldenden Datenverteilers (nicht zwingend der direkt verbundene Datenverteiler, sondern
der Kommunikationspartner, der die Daten bereitstellt oder empfängt)
|
SenderState |
getState()
Gibt den Status der Anmeldung zurück
|
boolean |
isAllowed()
Gibt zurück, ob die Anmeldung von der lokalen Rechteprüfung erlaubt ist
|
boolean |
isRequestSupported()
Gibt true zurück, wenn der Sender spezifiziert hat, dass er Sendesteuerung benutzen möchte.
|
boolean |
isSource()
Gibt true zurück, wenn es sich um eine Quelle handelt
|
void |
setState(SenderState senderState,
long centralTransmitterId)
Setzt den Status der Anmeldung
|
java.lang.String |
toString() |
void |
unsubscribe()
Beendet die Datenanmeldung, sendet eventuelle Abmeldetelegramme
|
public LocalSendingSubscription(SubscriptionsManager subscriptionsManager, de.bsvrz.dav.daf.communication.lowLevel.telegrams.BaseSubscriptionInfo baseSubscriptionInfo, boolean source, boolean requestSupported, ApplicationCommunicationInterface applicationConnection)
public long getNodeId()
SubscriptiongetNodeId in interface Subscriptionpublic long getCentralDistributorId()
SubscriptiongetCentralDistributorId in interface Subscriptionpublic void unsubscribe()
Subscriptionunsubscribe in interface Subscriptionpublic ConnectionState getConnectionState()
SubscriptiongetConnectionState in interface Subscriptionpublic boolean isSource()
SendingSubscriptionisSource in interface SendingSubscriptionpublic boolean isRequestSupported()
SendingSubscriptionisRequestSupported in interface SendingSubscriptionpublic SenderState getState()
SendingSubscriptiongetState in interface SendingSubscriptionpublic void setState(SenderState senderState, long centralTransmitterId)
SendingSubscriptionsetState in interface SendingSubscriptionsenderState - neuer Statuspublic de.bsvrz.dav.daf.communication.lowLevel.telegrams.BaseSubscriptionInfo getBaseSubscriptionInfo()
SubscriptiongetBaseSubscriptionInfo in interface Subscriptionpublic boolean isAllowed()
SubscriptionisAllowed in interface Subscriptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic ApplicationCommunicationInterface getCommunication()
SubscriptiongetCommunication in interface LocalSubscriptiongetCommunication in interface Subscriptionpublic de.bsvrz.dav.daf.communication.protocol.UserLogin getAuthenticationState()
SubscriptiongetAuthenticationState in interface Subscription