Adobe 38043740 - ColdFusion Standard - Mac Development Manual page 1304

Developing applications
Hide thumbs Also See for 38043740 - ColdFusion Standard - Mac:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Using External Resources
Field
CfcMethod
Data.dataCoding
Data.destAddress
Data.esmClass
Data.MESSAGE
Data.messageLength
Data.priority
Data.protocol
Data.registeredDelivery
Data.sourceAddress
GatewayType
OriginatorID
For a detailed description of each field, see SMS Gateway incoming message CFEvent structure in the CFML Reference.
The CFC's listener method extracts the message from the Arguments.CFEvent.Data.MESSAGE field and acts on it as
appropriate for the application. If necessary, the listener can use two fields to determine the required action:
• CFEvent.Data.esmClass indicates the type of information in the MESSAGE field.
• CFEvent.Data.registeredDelivery indicates whether the sender requested any type of delivery receipt or
acknowledgment.
CFEvent.Data.esmClass field
The CFEvent.Data.esmClass field identifies whether the CFEvent.Data.Message field contains a message, or any of the
following types of message disposition responses. For these responses, the CFEvent object Data.MESSAGE field
contains the acknowledgment or receipt information.
An indication of the message's final status, sent by the SMSC. The short message text includes
SMSC Delivery Receipt
the message ID of the original message, the number of messages sent and delivered (for messages sent to a distribution
list), the date and time that the message was sent and delivered or otherwise disposed of, the message disposition, a
network-specific error code (if available), and the first 20 bytes of the message. For details of the SMSC delivery receipt
message structure, see Appendix B of the SMS 3.4 specification.
SME Delivery Acknowledgement
Supported by TDMA and CDMA wireless networks only.
SME Manual/User Acknowledgement
request message. Supported by TDMA and CDMA wireless networks only.
Intermediate Delivery Notification
delivered, sent during the SMSC retry lifetime for the message. Intermediate Notification support depends on the
SMSC implementation and SMSC service provider. For more information, see your provider documentation.
When you send a message, you can request any combination of message disposition responses in the outgoing
message's
registered_delivery
prepared to handle these messages, as appropriate.
Value
Listener CFC method name
Character set or the noncharacter data type of the message contents
Address to which the message was sent
Message type
Message contents
Length of the MESSAGE field
Message priority level, in the range 0-3
GSM protocol; not used for other networks
Requested type of delivery receipt or acknowledgment, if any
Address of the device that sent this message
Always SMS
Address of the device that sent the message
An indication from the recipient device that the user has read the short message.
An application-generated reply message sent in response to an application
A provider-specific notification on the status of a message that has not yet been
parameter. If your application requests responses, the listener CFC must be
Last updated 1/20/2012
1299

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 9

Table of Contents