com.vodafone360.people.service.agent
Enum NetworkAgent.AgentDisconnectReason

java.lang.Object
  extended by java.lang.Enum<NetworkAgent.AgentDisconnectReason>
      extended by com.vodafone360.people.service.agent.NetworkAgent.AgentDisconnectReason
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<NetworkAgent.AgentDisconnectReason>
Enclosing class:
NetworkAgent

public static enum NetworkAgent.AgentDisconnectReason
extends java.lang.Enum<NetworkAgent.AgentDisconnectReason>

Reasons for Service Agent changing state to disconnected


Enum Constant Summary
AGENT_IS_CONNECTED
           
BACKGROUND_CONNECTION_DISABLED
           
DATA_ROAMING_DISABLED
           
DATA_SETTING_SET_TO_MANUAL_CONNECTION
           
NO_INTERNET_CONNECTION
           
NO_WORKING_NETWORK
           
UNKNOWN
           
 
Method Summary
static NetworkAgent.AgentDisconnectReason valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static NetworkAgent.AgentDisconnectReason[] 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

AGENT_IS_CONNECTED

public static final NetworkAgent.AgentDisconnectReason AGENT_IS_CONNECTED

NO_INTERNET_CONNECTION

public static final NetworkAgent.AgentDisconnectReason NO_INTERNET_CONNECTION

NO_WORKING_NETWORK

public static final NetworkAgent.AgentDisconnectReason NO_WORKING_NETWORK

DATA_SETTING_SET_TO_MANUAL_CONNECTION

public static final NetworkAgent.AgentDisconnectReason DATA_SETTING_SET_TO_MANUAL_CONNECTION

DATA_ROAMING_DISABLED

public static final NetworkAgent.AgentDisconnectReason DATA_ROAMING_DISABLED

BACKGROUND_CONNECTION_DISABLED

public static final NetworkAgent.AgentDisconnectReason BACKGROUND_CONNECTION_DISABLED

UNKNOWN

public static final NetworkAgent.AgentDisconnectReason UNKNOWN
Method Detail

values

public static NetworkAgent.AgentDisconnectReason[] 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 (NetworkAgent.AgentDisconnectReason c : NetworkAgent.AgentDisconnectReason.values())
    System.out.println(c);

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

valueOf

public static NetworkAgent.AgentDisconnectReason valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


JavaDoc