Package de.bsvrz.dav.dav.subscriptions
Interface CommunicationInterface
-
- All Known Subinterfaces:
ApplicationCommunicationInterface
,T_A_HighLevelCommunicationInterface
,T_T_HighLevelCommunicationInterface
,TransmitterCommunicationInterface
- All Known Implementing Classes:
T_A_HighLevelCommunication
,T_T_HighLevelCommunication
public interface CommunicationInterface
Basis-Interface für eine Netzwerkverbindung Dav-Dav oder Dav-App
-
-
Method Summary
Modifier and Type Method Description long
getId()
Gibt die Id der Verbindung bzw. des Kommunikationspartners zurück.de.bsvrz.dav.daf.communication.protocol.UserLogin
getUserLogin()
Gibt den Authentifizierungsstatus des verbundenen Benutzers zurückvoid
sendData(de.bsvrz.dav.daf.communication.lowLevel.telegrams.ApplicationDataTelegram telegram, long applicationId, boolean toCentralDistributor)
Versendet ein Daten-Telegramm über diese Verbindung
-
-
-
Method Detail
-
getUserLogin
de.bsvrz.dav.daf.communication.protocol.UserLogin getUserLogin()
Gibt den Authentifizierungsstatus des verbundenen Benutzers zurück- Returns:
- der verbundene Benutzer
-
sendData
void sendData(de.bsvrz.dav.daf.communication.lowLevel.telegrams.ApplicationDataTelegram telegram, long applicationId, boolean toCentralDistributor)
Versendet ein Daten-Telegramm über diese Verbindung- Parameters:
telegram
- TelegrammapplicationId
- Absender-Applikation oder -1 falls nicht bekannttoCentralDistributor
- true: In Richtung des Zentraldatenverteilers, beim Sender-Senke-Datenfluss. false: Aus Richtung des Zentraldatenverteilers, beim Quelle-Empfänger-Datenfluss.
-
getId
long getId()
Gibt die Id der Verbindung bzw. des Kommunikationspartners zurück.- Bei Applikationen: Applikations-Id
- Bei Datenverteilern: Datenverteiler-Id
- Returns:
- Id
-
-