Cfml Cfevent Structure; Im Gateway Methods And Commands - MACROMEDIA COLFUSION MX 7-CFML Reference

Cfml reference
Hide thumbs Also See for COLFUSION MX 7-CFML:
Table of Contents

Advertisement

CFML CFEvent structure

The CFML listener CFC methods receive messages in the form of a CFEvent structure that
corresponds to the
fields. Some of the fields might not be used by all gateways. All fields contain text or numeric
values except the Data field, which contains a structure.
Field
GatewayID
Data
OriginatorID
GatewayType
CFCPath
CFCMethod
CFCTimeout

IM gateway methods and commands

The XMPP and IBM Sametime gateways implement CFC methods to receive messages, use the
gatewayHelper object methods to manage the gateway, and use outgoing message commands to
send messages. The following sections describe these methods and commands:
IM Gateway CFC incoming message methods
IM gateway message sending commands
IM Gateway GatewayHelper class methods
1004
Chapter 6: ColdFusion MX Event Gateway Reference
CFEvent class
that gateway developers use. This structure has the following
Description
The event gateway that sent the event or will handle the outgoing message.
The value is the ID of an event gateway instance configured on the ColdFusion
MX Administrator Gateways page. If the application calls the
function to respond to the event gateway, it uses this ID as
SendGatewayMessage
the function's first parameter.
A structure containing the event data, including the message. The
structure contents depend on the event gateway type. This field corresponds to
the
SendGatewayMessage
The originator of the message. The value depends on the protocol or event
gateway type. Some event gateways might require this value in response
messages to identify the destination of the response. Identifies the sender of
the message.
The type of event gateway, such as SMS. An application that can process
messages from multiple event gateway types can use this field. This value is the
gateway type name that is specified by the event Gateway class. It is not
necessarily the same as the gateway type name in the ColdFusion MX
Administrator.
The location of the listener CFC. The listener CFC does not need to use this
field.
The listener method that ColdFusion invokes to process the event. The listener
CFC does not need to use this field.
The time-out, in seconds, for the listener CFC to process the event request.
The listener CFC does not need to use this field.
function's second parameter.
Data

Advertisement

Table of Contents
loading

This manual is also suitable for:

Colfusion mx 7 - installing and using coldfusion mx

Table of Contents