com.objectxp.mms
Interface MMSNotification


public interface MMSNotification

This interface represents a notification about an incoming MMS waiting to be picked up. MMS notifications are only used by the MM1 protocol.

Since:
jSMS 2.0
See Also:
MM1Service

Method Summary
 java.lang.String getContentLocation()
          The location (URL) where the corresponding MMS can be fetched on the MMSC.
 boolean getDeliveryReport()
          Specifies whether the originator MMS Client requests a delivery report from each recipient.
 java.util.Date getExpiryDate()
          Date until the MMSMessage will be available.
 MMSAddress getFrom()
          Address of the originator MMS Client.
 long getMessageSize()
          Returns the size of the incoming MMS in octets.
 java.lang.String getMMSMessageClass()
          Get the message class.
 java.lang.String getPriority()
          Get the priority of the MMS message assigned by the originator MMS Client.
 ReplyCharging getReplyCharging()
          Get the Reply Charging field for this message.
 java.util.Date getReplyChargingDeadLine()
          Get the reply charging deadline.
 java.lang.String getReplyChargingId()
          Get the reply charging ID .
 int getReplyChargingSize()
          Get the reply charging size.
 java.lang.String getSubject()
          Get the subject of the MMS waiting to be fetched.
 java.lang.String getTransactionId()
          The unique Transaction-ID of the MMS.
 java.lang.String getVersion()
          Get the version of this MMS notification.
 java.lang.Boolean isDistributionAllowed()
          Determine if the content of the MMSMessage may be distributed further.
 

Method Detail

getTransactionId

public java.lang.String getTransactionId()
The unique Transaction-ID of the MMS.

Returns:
the MMS Transaction-ID

getVersion

public java.lang.String getVersion()
Get the version of this MMS notification.

Returns:
version the version.

getFrom

public MMSAddress getFrom()
Address of the originator MMS Client.

Returns:
the originator address.

getSubject

public java.lang.String getSubject()
Get the subject of the MMS waiting to be fetched.

Returns:
the subject.

getDeliveryReport

public boolean getDeliveryReport()
Specifies whether the originator MMS Client requests a delivery report from each recipient.

Returns:
true if a report is requested

getMMSMessageClass

public java.lang.String getMMSMessageClass()
Get the message class. The following values may be returned:


getPriority

public java.lang.String getPriority()
Get the priority of the MMS message assigned by the originator MMS Client.

Returns:
one of MMSMessage.PRIORITY_LOW, MMSMessage.PRIORITY_NORMAL, MMSMessage.PRIORITY_HIGH or null.
Since:
jSMS 2.2

getMessageSize

public long getMessageSize()
Returns the size of the incoming MMS in octets. The returned value could be based on approximate calculation, therefore it SHOULD NOT be used as a reason to reject the MMS.


getExpiryDate

public java.util.Date getExpiryDate()
Date until the MMSMessage will be available.


getReplyCharging

public ReplyCharging getReplyCharging()
Get the Reply Charging field for this message.

Returns:
the reply charging or null.
Since:
jSMS 2.2

getReplyChargingDeadLine

public java.util.Date getReplyChargingDeadLine()
Get the reply charging deadline.

Returns:
the deadline or null.
Since:
jSMS 2.2

getReplyChargingSize

public int getReplyChargingSize()
Get the reply charging size.

Returns:
the maximum size of the reply message or null if not limited.
Since:
jSMS 2.2

getReplyChargingId

public java.lang.String getReplyChargingId()
Get the reply charging ID .

Returns:
the Reply Charging ID or null.
Since:
jSMS 2.2

isDistributionAllowed

public java.lang.Boolean isDistributionAllowed()
Determine if the content of the MMSMessage may be distributed further.

Returns:
TRUE/FALSE or null if unspecified.
Since:
jSMS 2.2

getContentLocation

public java.lang.String getContentLocation()
The location (URL) where the corresponding MMS can be fetched on the MMSC.

Returns:
the location of the MMS


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