public enum ConnectionState extends java.lang.Enum<ConnectionState>
Stellt einen Verbindungsstatus einer Anmeldung dar
Enum Constant and Description |
---|
FROM_LOCAL_OK
Lokale Verbindung, Status immer OK
|
FROM_REMOTE_OK
Eingehende Verbindung, Status immer OK
|
TO_REMOTE_MULTIPLE
Ausgehende Verbindung, hinter dem verbundenen Datenverteiler gibt es mehrere Zentraldatenverteiler
|
TO_REMOTE_NOT_ALLOWED
Ausgehende Verbindung, anderer Datenverteiler ist zuständig, aber es sind keine Rechte vorhanden
|
TO_REMOTE_NOT_RESPONSIBLE
Ausgehende Verbindung, anderer Datenverteiler ist nicht zuständig
|
TO_REMOTE_OK
Ausgehende Verbindung, anderer Datenverteiler ist zuständig (OK)
|
TO_REMOTE_WAITING
Ausgehende Verbindung, warten auf Antwort (receipt/Quittung) des Kommunikationspartners
|
Modifier and Type | Field and Description |
---|---|
private boolean |
_valid |
Modifier and Type | Method and Description |
---|---|
static ConnectionState |
fromByte(byte b)
Wandelt ein TransmitterSubscriptionsConstants-Byte in einen Status um
|
boolean |
isValid()
Gibt zurück, ob die Anmeldung gültig ist
|
static ConnectionState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionState FROM_LOCAL_OK
public static final ConnectionState FROM_REMOTE_OK
public static final ConnectionState TO_REMOTE_WAITING
public static final ConnectionState TO_REMOTE_OK
public static final ConnectionState TO_REMOTE_NOT_RESPONSIBLE
public static final ConnectionState TO_REMOTE_NOT_ALLOWED
public static final ConnectionState TO_REMOTE_MULTIPLE
public static ConnectionState[] values()
for (ConnectionState c : ConnectionState.values()) System.out.println(c);
public static ConnectionState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean isValid()
Gibt zurück, ob die Anmeldung gültig ist
public static ConnectionState fromByte(byte b)
Wandelt ein TransmitterSubscriptionsConstants-Byte in einen Status um
b
- byte