SMSLib 3.5.3

org.smslib
Enum StatusReportMessage.DeliveryStatuses

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

public static enum StatusReportMessage.DeliveryStatuses
extends java.lang.Enum<StatusReportMessage.DeliveryStatuses>

Enumeration representing delivery (status report) message status.


Enum Constant Summary
ABORTED
          Message has failed to be delivered.
DELIVERED
          Message has been delivered.
INPROGRESS
          Delivery in progress
KEEPTRYING
          Message has not been delivered yet - will keep trying.
UNKNOWN
          Unknown delivery status.
 
Method Summary
static StatusReportMessage.DeliveryStatuses valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static StatusReportMessage.DeliveryStatuses[] 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

UNKNOWN

public static final StatusReportMessage.DeliveryStatuses UNKNOWN
Unknown delivery status.


INPROGRESS

public static final StatusReportMessage.DeliveryStatuses INPROGRESS
Delivery in progress


DELIVERED

public static final StatusReportMessage.DeliveryStatuses DELIVERED
Message has been delivered.


KEEPTRYING

public static final StatusReportMessage.DeliveryStatuses KEEPTRYING
Message has not been delivered yet - will keep trying.


ABORTED

public static final StatusReportMessage.DeliveryStatuses ABORTED
Message has failed to be delivered.

Method Detail

values

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

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

valueOf

public static StatusReportMessage.DeliveryStatuses 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