public static enum Connection.Status extends Enum<Connection.Status>
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
static Connection.Status |
valueOf(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.
|
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
public static Connection.Status[] values()
for (Connection.Status c : Connection.Status.values()) System.out.println(c);
public static Connection.Status valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2016 4th Line GmbH, Switzerland. All rights reserved.