com.objectxp.msg
Interface SmsStatus

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
Cimd2Status, GsmStatus, SmppStatus, UcpStatus

public interface SmsStatus
extends java.io.Serializable

This interface represents a SMS Status Report result. When receiving a StatusReportMessage, calling StatusReportMessage.getStatus() will return a service dependant implementation of this interface.


Method Summary
 java.util.Date getDischargeTime()
          Get the time at which a previously submitted SMS was successfully delivered to or attempted to deliver to the recipient or disposed of by the SMSC.
 boolean isCancelled()
          Returns true if the indicated message has been cancelled by a previous call to SmsService.cancel(Message).
 boolean isDeleted()
          Returns true if the indicated message has been deleted.
 boolean isDelivered()
          Check if the Message has been sent sucessfuly.
 boolean isPermanentError()
          Returns true if a permanent error has occured.
 

Method Detail

isDelivered

boolean isDelivered()
Check if the Message has been sent sucessfuly.

Returns:
true if the message has been delivered, false otherwise.

isPermanentError

boolean isPermanentError()
Returns true if a permanent error has occured. The SMSC will stop trying to deliver the Message.


isCancelled

boolean isCancelled()
Returns true if the indicated message has been cancelled by a previous call to SmsService.cancel(Message).

Since:
jSMS 2.1.8

isDeleted

boolean isDeleted()
Returns true if the indicated message has been deleted.

Since:
jSMS 2.1.8

getDischargeTime

java.util.Date getDischargeTime()
Get the time at which a previously submitted SMS was successfully delivered to or attempted to deliver to the recipient or disposed of by the SMSC.

Returns:
the discharge time or null if not known
Since:
jSMS 2.1.5


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