com.genesyslab.ail
Class ServiceStatus.Status

java.lang.Object
  extended by com.genesyslab.ail.Enum
      extended by com.genesyslab.ail.ServiceStatus.Status
Enclosing class:
ServiceStatus

public static class ServiceStatus.Status
extends Enum

Constants for the statuses of the services.


Field Summary
static ServiceStatus.Status ABSENT
          Indicates that the service is absent.
static int ABSENT_
          Integer representation of ABSENT.
static ServiceStatus.Status ALREADY_RUNNING
          Indicates that AIL is already running the connection for this service (server mode).
static int ALREADY_RUNNING_
          Integer representation of ALREADY_RUNNING.
static ServiceStatus.Status APPLICATION_NAME_INCORRECT
          Indicates that the provided application name is incorrect.
static int APPLICATION_NAME_INCORRECT_
          Integer representation of APPLICATION_NAME_INCORRECT.
static ServiceStatus.Status APPLICATION_TYPE_INCORRECT
          Indicates that application exists in Config Layer, but with another type.
static int APPLICATION_TYPE_INCORRECT_
          Integer representation of APPLICATION_TYPE_INCORRECT.
static ServiceStatus.Status CONNECTION_FAILED
          Indicates that the connection could not be established.
static int CONNECTION_FAILED_
          Integer representation of CONNECTION_FAILED.
static ServiceStatus.Status LICENSE
          Indicates that the service cannot be connected for license reasons.
static int LICENSE_
          Integer representation of LICENSE.
static ServiceStatus.Status LOGIN_INCORRECT
          Indicates that provided login or password is incorrect (client mode).
static int LOGIN_INCORRECT_
          Integer representation of LOGIN_INCORRECT.
static int MAX
           
static ServiceStatus.Status OFF
          Indicates that the service is not running or disconnected.
static int OFF_
          Integer representation of OFF.
static ServiceStatus.Status ON
          Indicates that the service is running and connected.
static int ON_
          Integer representation of ON.
static ServiceStatus.Status RESTORING
          Indicates that AIL is restoring the connection for this service.
static int RESTORING_
          Integer representation of RESTORING.
static ServiceStatus.Status UNKNOWN
          Indicates that the service status is unknown.
static int UNKNOWN_
          Integer representation of UNKNOWN.
static ServiceStatus.Status UNKNOWN_HOST
          Indicates that the provided host name is incorrect.
static int UNKNOWN_HOST_
          Integer representation of UNKNOWN_HOST.
 
Fields inherited from class com.genesyslab.ail.Enum
CONSTANTS_RANGE
 
Method Summary
static ServiceStatus.Status getStatus(int value)
          Returns the Status for this value.
static int max()
          The number of statuses.
 
Methods inherited from class com.genesyslab.ail.Enum
equals, hashCode, toInt, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ON_

public static final int ON_
Integer representation of ON.

See Also:
Constant Field Values

ON

public static final ServiceStatus.Status ON
Indicates that the service is running and connected.


OFF_

public static final int OFF_
Integer representation of OFF.

See Also:
Constant Field Values

OFF

public static final ServiceStatus.Status OFF
Indicates that the service is not running or disconnected.


ABSENT_

public static final int ABSENT_
Integer representation of ABSENT.

See Also:
Constant Field Values

ABSENT

public static final ServiceStatus.Status ABSENT
Indicates that the service is absent. A service is considered being absent when it could never be reached.


LICENSE_

public static final int LICENSE_
Integer representation of LICENSE.

See Also:
Constant Field Values

LICENSE

public static final ServiceStatus.Status LICENSE
Indicates that the service cannot be connected for license reasons.


UNKNOWN_

public static final int UNKNOWN_
Integer representation of UNKNOWN.

See Also:
Constant Field Values

UNKNOWN

public static final ServiceStatus.Status UNKNOWN
Indicates that the service status is unknown.


RESTORING_

public static final int RESTORING_
Integer representation of RESTORING.

See Also:
Constant Field Values

RESTORING

public static final ServiceStatus.Status RESTORING
Indicates that AIL is restoring the connection for this service.


ALREADY_RUNNING_

public static final int ALREADY_RUNNING_
Integer representation of ALREADY_RUNNING.

See Also:
Constant Field Values

ALREADY_RUNNING

public static final ServiceStatus.Status ALREADY_RUNNING
Indicates that AIL is already running the connection for this service (server mode).


UNKNOWN_HOST_

public static final int UNKNOWN_HOST_
Integer representation of UNKNOWN_HOST.

See Also:
Constant Field Values

UNKNOWN_HOST

public static final ServiceStatus.Status UNKNOWN_HOST
Indicates that the provided host name is incorrect.


CONNECTION_FAILED_

public static final int CONNECTION_FAILED_
Integer representation of CONNECTION_FAILED.

See Also:
Constant Field Values

CONNECTION_FAILED

public static final ServiceStatus.Status CONNECTION_FAILED
Indicates that the connection could not be established. Port number can be incorrect, or config server is not running.


APPLICATION_NAME_INCORRECT_

public static final int APPLICATION_NAME_INCORRECT_
Integer representation of APPLICATION_NAME_INCORRECT.

See Also:
Constant Field Values

APPLICATION_NAME_INCORRECT

public static final ServiceStatus.Status APPLICATION_NAME_INCORRECT
Indicates that the provided application name is incorrect.


APPLICATION_TYPE_INCORRECT_

public static final int APPLICATION_TYPE_INCORRECT_
Integer representation of APPLICATION_TYPE_INCORRECT.

See Also:
Constant Field Values

APPLICATION_TYPE_INCORRECT

public static final ServiceStatus.Status APPLICATION_TYPE_INCORRECT
Indicates that application exists in Config Layer, but with another type.


LOGIN_INCORRECT_

public static final int LOGIN_INCORRECT_
Integer representation of LOGIN_INCORRECT.

See Also:
Constant Field Values

LOGIN_INCORRECT

public static final ServiceStatus.Status LOGIN_INCORRECT
Indicates that provided login or password is incorrect (client mode).


MAX

public static final int MAX
See Also:
Constant Field Values
Method Detail

max

public static final int max()
The number of statuses.


getStatus

public static final ServiceStatus.Status getStatus(int value)
Returns the Status for this value.