com.objectxp.mms
Class MMSDeliveryStatus

java.lang.Object
  extended bycom.objectxp.mms.MMSDeliveryStatus

public class MMSDeliveryStatus
extends java.lang.Object

This class is a representation of the X-MMS-Status attribute. It is part of the MMSDeliveryReport.

Since:
jSMS 2.2

Field Summary
static int STATUS_DEFERRED
          Status: Deferred
static int STATUS_EXPIRED
          Status: Expired
static int STATUS_FORWARDED
          Status: Forwarded
static int STATUS_INDETERMINATE
          Status: Indeterminate
static int STATUS_REJECTED
          Status: Rejected
static int STATUS_RETRIEVED
          Status: Retrieved
static int STATUS_UNREACHABLE
          Status: Unreachable
static int STATUS_UNRECOGNISED
          Status: Unrecognised
 
Constructor Summary
MMSDeliveryStatus(int status, java.lang.String text)
          Construct a new MMSDeliveryStatus object.
 
Method Summary
 int getCode()
          Returns the status code (one of the STATUS_ constants).
 java.lang.String getText()
          Returns the status text or null if not present
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

STATUS_EXPIRED

public static final int STATUS_EXPIRED
Status: Expired

See Also:
Constant Field Values

STATUS_RETRIEVED

public static final int STATUS_RETRIEVED
Status: Retrieved

See Also:
Constant Field Values

STATUS_REJECTED

public static final int STATUS_REJECTED
Status: Rejected

See Also:
Constant Field Values

STATUS_DEFERRED

public static final int STATUS_DEFERRED
Status: Deferred

See Also:
Constant Field Values

STATUS_UNRECOGNISED

public static final int STATUS_UNRECOGNISED
Status: Unrecognised

See Also:
Constant Field Values

STATUS_INDETERMINATE

public static final int STATUS_INDETERMINATE
Status: Indeterminate

See Also:
Constant Field Values

STATUS_FORWARDED

public static final int STATUS_FORWARDED
Status: Forwarded

See Also:
Constant Field Values

STATUS_UNREACHABLE

public static final int STATUS_UNREACHABLE
Status: Unreachable

See Also:
Constant Field Values
Constructor Detail

MMSDeliveryStatus

public MMSDeliveryStatus(int status,
                         java.lang.String text)
Construct a new MMSDeliveryStatus object.

Parameters:
status - the status (one of the STATUS_ constants)
text - an optional status text.
Method Detail

getCode

public int getCode()
Returns the status code (one of the STATUS_ constants).


getText

public java.lang.String getText()
Returns the status text or null if not present


toString

public java.lang.String toString()


object XP, Inc. © 2000-2007. All rights reserved object XP