public final class TransmitterStatus extends java.lang.Object implements java.lang.Comparable<TransmitterStatus>
Verbindungszustand eines Datenverteilers
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
_address |
private CommunicationState |
_communicationState |
private EncryptionStatus |
_encryptionStatus |
private java.lang.String |
_message |
private long |
_transmitterId |
Constructor and Description |
---|
TransmitterStatus(long davApplication,
java.lang.String address,
CommunicationState communicationState,
java.lang.String message,
EncryptionStatus encryptionStatus) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(TransmitterStatus o) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getAddress()
Gibt die Adresse des verbundenen Datenverteilers zurück, oder einen Leerstring wenn der Datenverteiler nicht verbunden ist.
|
CommunicationState |
getCommunicationState()
Gibt den Verbindugnsstatus zum Datenverteiler zurück
|
long |
getDavApplication()
Gibt die Datenverteiler-ID zurück
|
EncryptionStatus |
getEncryptionStatus()
Gibt den Verschlüsselungszustand zurück
|
java.lang.String |
getMessage()
Gibt eine eventuelle Fehlernachricht zurück
|
long |
getTransmitterId()
Gibt die ID des Datenverteilers zurück
|
int |
hashCode() |
private final long _transmitterId
private final java.lang.String _address
private final CommunicationState _communicationState
private final EncryptionStatus _encryptionStatus
private final java.lang.String _message
public TransmitterStatus(long davApplication, java.lang.String address, CommunicationState communicationState, java.lang.String message, EncryptionStatus encryptionStatus)
public long getDavApplication()
Gibt die Datenverteiler-ID zurück
public java.lang.String getAddress()
Gibt die Adresse des verbundenen Datenverteilers zurück, oder einen Leerstring wenn der Datenverteiler nicht verbunden ist.
public CommunicationState getCommunicationState()
Gibt den Verbindugnsstatus zum Datenverteiler zurück
public java.lang.String getMessage()
Gibt eine eventuelle Fehlernachricht zurück
public long getTransmitterId()
Gibt die ID des Datenverteilers zurück
public EncryptionStatus getEncryptionStatus()
Gibt den Verschlüsselungszustand zurück
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(TransmitterStatus o)
compareTo
in interface java.lang.Comparable<TransmitterStatus>