|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SmsNotification
SmsNotification is the application side interface to which notifications about short messages are delivered.
Method Summary | |
---|---|
void |
notifySmsDeliveryReceipt(java.lang.String correlator,
DeliveryInformation deliveryStatus)
The notifySmsDeliveryReceipt operation must be implemented by a Web Service at the application side if it requires notification of SMS delivery receipt. |
void |
notifySmsReception(java.lang.String correlator,
SmsMessage message)
The notification is used to send a short message to the application. |
Method Detail |
---|
void notifySmsReception(java.lang.String correlator, SmsMessage message) throws java.rmi.RemoteException
The notification is used to send a short message to the application. The notification will occur only if the SMS fulfils the criteria specified when starting the SMS notification.
The notifySmsReception method must be implemented by a Web Service at the application side. It will be invoked by the Parlay X 2 server to notify the application of the reception of an SMS. The notification will occur if and only if the SMS received fulfils the criteria specified in a provisioning step, identified by the correlator. The criteria must at least include an smsServiceActivationNumber, for example, the SMS destination address that can be "monitored" by the application. The parameter senderAddress contains the address of the sender. The application can apply the appropriate service logic to process the SMS.
None.
correlator
- xsd:string
Correlator provided in request to set up this notificationmessage
- SmsMessage
Message received
java.rmi.RemoteException
void notifySmsDeliveryReceipt(java.lang.String correlator, DeliveryInformation deliveryStatus) throws java.rmi.RemoteException
When a SMS message is sent to multiple addresses, the server will send a notification for each terminal as and when a SMS message is delivered to the terminal.
The following three different SMS delivery status values will be returned in a notifySMSDeliveryReceiptResponse message:
* DeliveryImpossible: unsuccessful delivery; the message could not be delivered before it expired.
* DeliveredToTerminal: in case of concatenated messages, only when all the SMS-parts have been successfully delivered to the terminal.
* DeliveredNotificationNotSupported: if notification is supported by the network but it does not support delivery receipt for one or more addresses specified in the sendSMS[Logo/Ringtone]Request message. The service will send this status for those addresses .
None.
correlator
- xsd:string
The identifier defining the original ‘Send’ Request. This correlator was provided by the application in the sendSMS[Logo/Ringtone]Request messagedeliveryStatus
- DeliveryInformation
It lists the variations on the delivery status of the SMS to a terminal. Possible values are:
* DeliveryImpossible
* DeliveredToTerminal
* DeliveryNotificationNotSupported
java.rmi.RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |