com.eurotech.framework.net
Enum NetInterfaceStateChangedEvent.Reason

java.lang.Object
  extended by java.lang.Enum<NetInterfaceStateChangedEvent.Reason>
      extended by com.eurotech.framework.net.NetInterfaceStateChangedEvent.Reason
All Implemented Interfaces:
Serializable, Comparable<NetInterfaceStateChangedEvent.Reason>
Enclosing class:
NetInterfaceStateChangedEvent

public static enum NetInterfaceStateChangedEvent.Reason
extends Enum<NetInterfaceStateChangedEvent.Reason>


Enum Constant Summary
REASON_AUTOIP_ERROR
          The AutoIP service reported an unexpected error.
REASON_AUTOIP_FAILED
          The AutoIP service quit or failed unexpectedly.
REASON_AUTOIP_START_FAILED
          The AutoIP service failed to start.
REASON_BR2684_FAILED
          Problem with the RFC 2684 Ethernet over ADSL bridge.
REASON_BT_FAILED
          The Bluetooth connection timed out or failed.
REASON_CARRIER
          The device's carrier/link changed.
REASON_CONFIG_EXPIRED
          The IP configuration is no longer valid.
REASON_CONFIG_FAILED
          The device could not be readied for configuration.
REASON_CONFIG_UNAVAILABLE
          IP configuration could not be reserved (no available address, timeout, etc).
REASON_CONNECTION_ASSUMED
          The device's existing connection was assumed.
REASON_CONNECTION_REMOVED
          The device's active connection was removed or disappeared.
REASON_DEPENDENCY_FAILED
          A dependency of the connection failed.
REASON_DHCP_ERROR
          The DHCP service reported an unexpected error.
REASON_DHCP_FAILED
          The DHCP service quit or failed unexpectedly.
REASON_DHCP_START_FAILED
          The DHCP service failed to start within the allowed time.
REASON_FIRMWARE_MISSING
          Necessary firmware for the device may be missing.
REASON_GSM_APN_FAILED
          Failed to select the specified GSM APN.
REASON_GSM_PIN_CHECK_FAILED
          PIN check failed.
REASON_GSM_REGISTRATION_DENIED
          Network registration was denied.*
REASON_GSM_REGISTRATION_FAILED
          Failed to register with the requested GSM network.
REASON_GSM_REGISTRATION_NOT_SEARCHING
          Not searching for networks.
REASON_GSM_REGISTRATION_TIMEOUT
          Network registration timed out.
REASON_GSM_SIM_NOT_INSERTED
          GSM Modem's SIM Card not inserted.
REASON_GSM_SIM_PIN_REQUIRED
          GSM Modem's SIM Pin required.
REASON_GSM_SIM_PUK_REQUIRED
          GSM Modem's SIM Puk required.
REASON_GSM_SIM_WRONG
          GSM Modem's SIM wrong
REASON_INFINIBAND_MODE
          InfiniBand device does not support connected mode.
REASON_MODEM_BUSY
          Dialing failed because the line was busy.
REASON_MODEM_DIAL_FAILED
          Dialing failed.
REASON_MODEM_DIAL_TIMEOUT
          Dialing timed out.
REASON_MODEM_INIT_FAILED
          Modem initialization failed.
REASON_MODEM_NO_CARRIER
          Dialing failed because there was carrier.
REASON_MODEM_NO_DIAL_TONE
          Dialing failed because there was no dial tone.
REASON_MODEM_NOT_FOUND
          The modem could not be found.
REASON_NO_SECRETS
          Secrets were required, but not provided.
REASON_NONE
          The state change is normal.
REASON_NOW_MANAGED
          The device is now managed.
REASON_NOW_UNMANAGED
          The device is no longer managed.
REASON_PPP_DISCONNECT
          The PPP service disconnected unexpectedly.
REASON_PPP_FAILED
          The PPP service quit or failed unexpectedly.
REASON_PPP_START_FAILED
          The PPP service failed to start within the allowed time.
REASON_REMOVED
          The device was removed.
REASON_SHARED_FAILED
          The shared connection service quit or failed unexpectedly.
REASON_SHARED_START_FAILED
          The shared connection service failed to start.
REASON_SLEEPING
          NetworkManager went to sleep.
REASON_SUPPLICANT_AVAILABLE
          The 802.1x supplicant is now available.
REASON_SUPPLICANT_CONFIG_FAILED
          Configuration of the 802.1X supplicant failed.
REASON_SUPPLICANT_DISCONNECT
          The 802.1X supplicant disconnected from the access point or authentication server.
REASON_SUPPLICANT_FAILED
          The 802.1X supplicant quit or failed unexpectedly.
REASON_SUPPLICANT_TIMEOUT
          The 802.1X supplicant took too long to authenticate.
REASON_UNKNOWN
          The reason for the device state change is unknown.
REASON_USER_REQUESTED
          A user or client requested the disconnection.
 
Method Summary
static NetInterfaceStateChangedEvent.Reason valueOf(String name)
          Returns the enum constant of this type with the specified name.
static NetInterfaceStateChangedEvent.Reason[] 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

REASON_UNKNOWN

public static final NetInterfaceStateChangedEvent.Reason REASON_UNKNOWN
The reason for the device state change is unknown.


REASON_NONE

public static final NetInterfaceStateChangedEvent.Reason REASON_NONE
The state change is normal.


REASON_NOW_MANAGED

public static final NetInterfaceStateChangedEvent.Reason REASON_NOW_MANAGED
The device is now managed.


REASON_NOW_UNMANAGED

public static final NetInterfaceStateChangedEvent.Reason REASON_NOW_UNMANAGED
The device is no longer managed.


REASON_CONFIG_FAILED

public static final NetInterfaceStateChangedEvent.Reason REASON_CONFIG_FAILED
The device could not be readied for configuration.


REASON_CONFIG_UNAVAILABLE

public static final NetInterfaceStateChangedEvent.Reason REASON_CONFIG_UNAVAILABLE
IP configuration could not be reserved (no available address, timeout, etc).


REASON_CONFIG_EXPIRED

public static final NetInterfaceStateChangedEvent.Reason REASON_CONFIG_EXPIRED
The IP configuration is no longer valid.


REASON_NO_SECRETS

public static final NetInterfaceStateChangedEvent.Reason REASON_NO_SECRETS
Secrets were required, but not provided.


REASON_SUPPLICANT_DISCONNECT

public static final NetInterfaceStateChangedEvent.Reason REASON_SUPPLICANT_DISCONNECT
The 802.1X supplicant disconnected from the access point or authentication server.


REASON_SUPPLICANT_CONFIG_FAILED

public static final NetInterfaceStateChangedEvent.Reason REASON_SUPPLICANT_CONFIG_FAILED
Configuration of the 802.1X supplicant failed.


REASON_SUPPLICANT_FAILED

public static final NetInterfaceStateChangedEvent.Reason REASON_SUPPLICANT_FAILED
The 802.1X supplicant quit or failed unexpectedly.


REASON_SUPPLICANT_TIMEOUT

public static final NetInterfaceStateChangedEvent.Reason REASON_SUPPLICANT_TIMEOUT
The 802.1X supplicant took too long to authenticate.


REASON_PPP_START_FAILED

public static final NetInterfaceStateChangedEvent.Reason REASON_PPP_START_FAILED
The PPP service failed to start within the allowed time.


REASON_PPP_DISCONNECT

public static final NetInterfaceStateChangedEvent.Reason REASON_PPP_DISCONNECT
The PPP service disconnected unexpectedly.


REASON_PPP_FAILED

public static final NetInterfaceStateChangedEvent.Reason REASON_PPP_FAILED
The PPP service quit or failed unexpectedly.


REASON_DHCP_START_FAILED

public static final NetInterfaceStateChangedEvent.Reason REASON_DHCP_START_FAILED
The DHCP service failed to start within the allowed time.


REASON_DHCP_ERROR

public static final NetInterfaceStateChangedEvent.Reason REASON_DHCP_ERROR
The DHCP service reported an unexpected error.


REASON_DHCP_FAILED

public static final NetInterfaceStateChangedEvent.Reason REASON_DHCP_FAILED
The DHCP service quit or failed unexpectedly.


REASON_SHARED_START_FAILED

public static final NetInterfaceStateChangedEvent.Reason REASON_SHARED_START_FAILED
The shared connection service failed to start.


REASON_SHARED_FAILED

public static final NetInterfaceStateChangedEvent.Reason REASON_SHARED_FAILED
The shared connection service quit or failed unexpectedly.


REASON_AUTOIP_START_FAILED

public static final NetInterfaceStateChangedEvent.Reason REASON_AUTOIP_START_FAILED
The AutoIP service failed to start.


REASON_AUTOIP_ERROR

public static final NetInterfaceStateChangedEvent.Reason REASON_AUTOIP_ERROR
The AutoIP service reported an unexpected error.


REASON_AUTOIP_FAILED

public static final NetInterfaceStateChangedEvent.Reason REASON_AUTOIP_FAILED
The AutoIP service quit or failed unexpectedly.


REASON_MODEM_BUSY

public static final NetInterfaceStateChangedEvent.Reason REASON_MODEM_BUSY
Dialing failed because the line was busy.


REASON_MODEM_NO_DIAL_TONE

public static final NetInterfaceStateChangedEvent.Reason REASON_MODEM_NO_DIAL_TONE
Dialing failed because there was no dial tone.


REASON_MODEM_NO_CARRIER

public static final NetInterfaceStateChangedEvent.Reason REASON_MODEM_NO_CARRIER
Dialing failed because there was carrier.


REASON_MODEM_DIAL_TIMEOUT

public static final NetInterfaceStateChangedEvent.Reason REASON_MODEM_DIAL_TIMEOUT
Dialing timed out.


REASON_MODEM_DIAL_FAILED

public static final NetInterfaceStateChangedEvent.Reason REASON_MODEM_DIAL_FAILED
Dialing failed.


REASON_MODEM_INIT_FAILED

public static final NetInterfaceStateChangedEvent.Reason REASON_MODEM_INIT_FAILED
Modem initialization failed.


REASON_GSM_APN_FAILED

public static final NetInterfaceStateChangedEvent.Reason REASON_GSM_APN_FAILED
Failed to select the specified GSM APN.


REASON_GSM_REGISTRATION_NOT_SEARCHING

public static final NetInterfaceStateChangedEvent.Reason REASON_GSM_REGISTRATION_NOT_SEARCHING
Not searching for networks.


REASON_GSM_REGISTRATION_DENIED

public static final NetInterfaceStateChangedEvent.Reason REASON_GSM_REGISTRATION_DENIED
Network registration was denied.*


REASON_GSM_REGISTRATION_TIMEOUT

public static final NetInterfaceStateChangedEvent.Reason REASON_GSM_REGISTRATION_TIMEOUT
Network registration timed out.


REASON_GSM_REGISTRATION_FAILED

public static final NetInterfaceStateChangedEvent.Reason REASON_GSM_REGISTRATION_FAILED
Failed to register with the requested GSM network.


REASON_GSM_PIN_CHECK_FAILED

public static final NetInterfaceStateChangedEvent.Reason REASON_GSM_PIN_CHECK_FAILED
PIN check failed.


REASON_FIRMWARE_MISSING

public static final NetInterfaceStateChangedEvent.Reason REASON_FIRMWARE_MISSING
Necessary firmware for the device may be missing.


REASON_REMOVED

public static final NetInterfaceStateChangedEvent.Reason REASON_REMOVED
The device was removed.


REASON_SLEEPING

public static final NetInterfaceStateChangedEvent.Reason REASON_SLEEPING
NetworkManager went to sleep.


REASON_CONNECTION_REMOVED

public static final NetInterfaceStateChangedEvent.Reason REASON_CONNECTION_REMOVED
The device's active connection was removed or disappeared.


REASON_USER_REQUESTED

public static final NetInterfaceStateChangedEvent.Reason REASON_USER_REQUESTED
A user or client requested the disconnection.


REASON_CARRIER

public static final NetInterfaceStateChangedEvent.Reason REASON_CARRIER
The device's carrier/link changed.


REASON_CONNECTION_ASSUMED

public static final NetInterfaceStateChangedEvent.Reason REASON_CONNECTION_ASSUMED
The device's existing connection was assumed.


REASON_SUPPLICANT_AVAILABLE

public static final NetInterfaceStateChangedEvent.Reason REASON_SUPPLICANT_AVAILABLE
The 802.1x supplicant is now available.


REASON_MODEM_NOT_FOUND

public static final NetInterfaceStateChangedEvent.Reason REASON_MODEM_NOT_FOUND
The modem could not be found.


REASON_BT_FAILED

public static final NetInterfaceStateChangedEvent.Reason REASON_BT_FAILED
The Bluetooth connection timed out or failed.


REASON_GSM_SIM_NOT_INSERTED

public static final NetInterfaceStateChangedEvent.Reason REASON_GSM_SIM_NOT_INSERTED
GSM Modem's SIM Card not inserted.


REASON_GSM_SIM_PIN_REQUIRED

public static final NetInterfaceStateChangedEvent.Reason REASON_GSM_SIM_PIN_REQUIRED
GSM Modem's SIM Pin required.


REASON_GSM_SIM_PUK_REQUIRED

public static final NetInterfaceStateChangedEvent.Reason REASON_GSM_SIM_PUK_REQUIRED
GSM Modem's SIM Puk required.


REASON_GSM_SIM_WRONG

public static final NetInterfaceStateChangedEvent.Reason REASON_GSM_SIM_WRONG
GSM Modem's SIM wrong


REASON_INFINIBAND_MODE

public static final NetInterfaceStateChangedEvent.Reason REASON_INFINIBAND_MODE
InfiniBand device does not support connected mode.


REASON_DEPENDENCY_FAILED

public static final NetInterfaceStateChangedEvent.Reason REASON_DEPENDENCY_FAILED
A dependency of the connection failed.


REASON_BR2684_FAILED

public static final NetInterfaceStateChangedEvent.Reason REASON_BR2684_FAILED
Problem with the RFC 2684 Ethernet over ADSL bridge.

Method Detail

values

public static NetInterfaceStateChangedEvent.Reason[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (NetInterfaceStateChangedEvent.Reason c : NetInterfaceStateChangedEvent.Reason.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static NetInterfaceStateChangedEvent.Reason valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2013. All Rights Reserved.