Package org.jupnp.support.model
Enum Connection.Status
- Alle implementierten Schnittstellen:
Serializable,Comparable<Connection.Status>
- Umschließende Klasse:
Connection
-
Enum-Konstanten - Übersicht
Enum-KonstantenEnum-KonstanteBeschreibungAt least one client has successfully initiated an Internet connection using this instance.The WANConnectionDevice is in the process of initiating a connection for the first time after the connection became disconnected.No ISP connection is active (or being activated) from this connection instance.The WANConnectionDevice is in the process of terminating a connection.The connection is active (packets are allowed to flow through), but will transition to Disconnecting state after a certain period.This value indicates that other variables in the service table are uninitialized or in an invalid state. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic Connection.StatusGibt die Enumerationskonstante dieses Typs mit dem angegebenen Namen zurück.static Connection.Status[]values()Gibt ein Array mit den Konstanten dieses Enum-Typs in der Reihenfolge ihrer Deklaration zurück.
-
Enum-Konstanten - Details
-
Unconfigured
This value indicates that other variables in the service table are uninitialized or in an invalid state. -
Connecting
The WANConnectionDevice is in the process of initiating a connection for the first time after the connection became disconnected. -
Connected
At least one client has successfully initiated an Internet connection using this instance. -
PendingDisconnect
The connection is active (packets are allowed to flow through), but will transition to Disconnecting state after a certain period. -
Disconnecting
The WANConnectionDevice is in the process of terminating a connection. On successful termination, ConnectionStatus transitions to Disconnected. -
Disconnected
No ISP connection is active (or being activated) from this connection instance. No packets are transiting the gateway.
-
-
Methodendetails
-
values
Gibt ein Array mit den Konstanten dieses Enum-Typs in der Reihenfolge ihrer Deklaration zurück.- Gibt zurück:
- ein Array mit den Konstanten dieses Enumerationstyps in der Reihenfolge ihrer Deklaration
-
valueOf
Gibt die Enumerationskonstante dieses Typs mit dem angegebenen Namen zurück. Die Zeichenfolge muss exakt mit einer ID übereinstimmen, mit der eine Enumerationskonstante in diesem Typ deklariert wird. (Zusätzliche Leerzeichen sind nicht zulässig.)- Parameter:
name- Name der zurückzugebenden Enumerationskonstante.- Gibt zurück:
- Enumerationskonstante mit dem angegebenen Namen
- Löst aus:
IllegalArgumentException- wenn dieser Enumerationstyp keine Konstante mit dem angegebenen Namen enthältNullPointerException- wenn das Argument nicht angegeben wird
-