|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<NetInterfaceState> com.eurotech.framework.net.NetInterfaceState
public enum NetInterfaceState
The current state of the a NetworkInterface.
Enum Constant Summary | |
---|---|
ACTIVATED
The device is active. |
|
CONFIG
The device is being configured. |
|
DEACTIVATING
The device's network connection is being torn down. |
|
DISCONNECTED
The device is not connected. |
|
FAILED
The device is in a failure state following an attempt to activate it. |
|
IP_CHECK
The device's IP connectivity ability is being determined. |
|
IP_CONFIG
The IP settings of the device are being requested and configured. |
|
NEED_AUTH
The device is awaiting secrets necessary to continue connection. |
|
PREPARE
The device is preparing to connect. |
|
SECONDARIES
The device is waiting for secondary connections to be activated. |
|
UNAVAILABLE
The device cannot be used (carrier off, rfkill, etc). |
|
UNKNOWN
The device is in an unknown state. |
|
UNMANAGED
The device is recognized but not managed by NetworkManager. |
Method Summary | |
---|---|
static NetInterfaceState |
parseCode(int code)
|
static NetInterfaceState |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static NetInterfaceState[] |
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 NetInterfaceState UNKNOWN
public static final NetInterfaceState UNMANAGED
public static final NetInterfaceState UNAVAILABLE
public static final NetInterfaceState DISCONNECTED
public static final NetInterfaceState PREPARE
public static final NetInterfaceState CONFIG
public static final NetInterfaceState NEED_AUTH
public static final NetInterfaceState IP_CONFIG
public static final NetInterfaceState IP_CHECK
public static final NetInterfaceState SECONDARIES
public static final NetInterfaceState ACTIVATED
public static final NetInterfaceState DEACTIVATING
public static final NetInterfaceState FAILED
Method Detail |
---|
public static NetInterfaceState[] values()
for (NetInterfaceState c : NetInterfaceState.values()) System.out.println(c);
public static NetInterfaceState valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static NetInterfaceState parseCode(int code)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |