SMSLib 3.5.3

org.smslib.http
Enum KannelHTTPGateway.KannelSMSCStatuses

java.lang.Object
  extended by java.lang.Enum<KannelHTTPGateway.KannelSMSCStatuses>
      extended by org.smslib.http.KannelHTTPGateway.KannelSMSCStatuses
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<KannelHTTPGateway.KannelSMSCStatuses>
Enclosing class:
KannelHTTPGateway

public static enum KannelHTTPGateway.KannelSMSCStatuses
extends java.lang.Enum<KannelHTTPGateway.KannelSMSCStatuses>


Enum Constant Summary
CONNECTING
          Connecting to SMSC.
DEAD
          SMSC is dead.
ONLINE
          SMSC is online.
RECONNECTING
          Reconnecting to SMSC.
UNAVAILABLE
          SMSC is not available in Kannel.
UNKNOWN
          SMSC is unkown.
 
Method Summary
static KannelHTTPGateway.KannelSMSCStatuses valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static KannelHTTPGateway.KannelSMSCStatuses[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ONLINE

public static final KannelHTTPGateway.KannelSMSCStatuses ONLINE
SMSC is online.


DEAD

public static final KannelHTTPGateway.KannelSMSCStatuses DEAD
SMSC is dead.


CONNECTING

public static final KannelHTTPGateway.KannelSMSCStatuses CONNECTING
Connecting to SMSC.


RECONNECTING

public static final KannelHTTPGateway.KannelSMSCStatuses RECONNECTING
Reconnecting to SMSC.


UNAVAILABLE

public static final KannelHTTPGateway.KannelSMSCStatuses UNAVAILABLE
SMSC is not available in Kannel.


UNKNOWN

public static final KannelHTTPGateway.KannelSMSCStatuses UNKNOWN
SMSC is unkown.

Method Detail

values

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

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

valueOf

public static KannelHTTPGateway.KannelSMSCStatuses 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

SMSLib 3.5.3

(c) 2002-2011, http://smslib.org