|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Connection.Status>
org.teleal.cling.support.igd.Connection.Status
public static enum Connection.Status
Enum Constant Summary | |
---|---|
Connected
At least one client has successfully initiated an Internet connection using this instance. |
|
Connecting
The WANConnectionDevice is in the process of initiating a connection for the first time after the connection became disconnected. |
|
Disconnected
No ISP connection is active (or being activated) from this connection instance. |
|
Disconnecting
The WANConnectionDevice is in the process of terminating a connection. |
|
PendingDisconnect
The connection is active (packets are allowed to flow through), but will transition to Disconnecting state after a certain period. |
|
Unconfigured
This value indicates that other variables in the service table are uninitialized or in an invalid state. |
Method Summary | |
---|---|
static Connection.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Connection.Status[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Connection.Status Unconfigured
public static final Connection.Status Connecting
public static final Connection.Status Connected
public static final Connection.Status PendingDisconnect
public static final Connection.Status Disconnecting
public static final Connection.Status Disconnected
Method Detail |
---|
public static Connection.Status[] values()
for (Connection.Status c : Connection.Status.values()) System.out.println(c);
public static Connection.Status 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 name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |