MACROMEDIA COLFUSION MX 7-CFML Reference page 978

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

Advertisement

getGatewayServices
Description
Static method that returns the GatewayServices object. Gateway code can call this method at any
time, if required.
Category
Event Gateway Development
Syntax
GatewayServices getGatewayServices()
See also
"GatewayServices class" in Chapter 45, "Creating Custom Event Gateways" in ColdFusion MX
Developer's Guide
Returns
The GatewayServices object.
Usage
Gateway constructors can call this method to get a convenient reference to the GatewayServices
class and its methods.
Example
The following Socket gateway constructor code sets the GatewayServices variable:
public SocketGateway(String id)
{
gatewayID = id;
gatewayService = GatewayServices.getGatewayServices();
}
Calls to GatewayServices methods, such as the following, use the returned value.
boolean sent = gatewayService.addEvent(event);
978
Chapter 6: ColdFusion MX Event Gateway Reference

Advertisement

Table of Contents
loading

This manual is also suitable for:

Colfusion mx 7 - installing and using coldfusion mx

Table of Contents