java.io.Serializable
, java.lang.Comparable<CommunicationState>
public enum CommunicationState extends java.lang.Enum<CommunicationState>
Enum Constant | Description |
---|---|
Authenticating |
Der Datenverteiler authentifiziert sich beim Remote-Datenverteiler
|
Connected |
Die Verbindung wurde hergestellt und ist aktiv
|
Connecting |
Die Verbindung wird gerade aufgebaut
|
Disabled |
Verbindung ist nicht verbunden, da sie deaktiviert wurde
|
Disconnecting |
Die Verbindung wird gerade geschlossen und bestehende Anmeldungen werden abgemeldet
(zum Beispiel Aufgrund eines Fehlers oder weil ein Terminierungstelegramm gesendet wurde)
|
Error |
Wie NotConnected, aber eine bestehende Verbindung wurde durch einen Fehler terminiert
|
Listening |
Es wird auf Verbindungaufbau durch den anderen Datenverteiler gewartet
|
NotConnected |
Verbindung ist nicht verbunden (Der Datenverteiler wartet auf neuen Verbindungsversuch)
|
NotRelevant |
Der aktuelle Datenverteiler ist nicht in die Verbindung involviert
|
UnusedReplacementConnection |
Verbindung ist nicht verbunden (Es handelt sich um eine Ersatzverbindung, welche nicht erforderlich ist)
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
toString() |
|
static CommunicationState |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static CommunicationState[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommunicationState NotConnected
public static final CommunicationState UnusedReplacementConnection
public static final CommunicationState Disabled
public static final CommunicationState NotRelevant
public static final CommunicationState Listening
public static final CommunicationState Error
public static final CommunicationState Connecting
public static final CommunicationState Authenticating
public static final CommunicationState Connected
public static final CommunicationState Disconnecting
public static CommunicationState[] values()
for (CommunicationState c : CommunicationState.values()) System.out.println(c);
public static CommunicationState 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 java.lang.String toString()
toString
in class java.lang.Enum<CommunicationState>