User Guide
Gateway interface 973
setGatewayID
Description
Sets the gateway ID that uniquely identifies the Gateway instance.
Category
Event Gateway Development
Syntax
public void setGatewayID(String id)
See also
Constructor
, getGatewayID, “Providing Gateway class service and information routines” in
Chapter 45, “Creating Custom Event Gateways” in ColdFusion MX Developer’s Guide
Parameters
Usage
This method sets a string value that is returned by the getGatewayID method. ColdFusion MX
calls this method to set the gateway ID with the value specified in the gateway instance
configuration in the ColdFusion MX Administrator before it starts the event gateway, even if the
Gateway constructor also sets the ID.
Example
The following example is the ColdFusion MX SocketGateway class setGatewayID method:
public void setGatewayID(String id)
{
gatewayID = id;
}
Parameter Description
id The identifier for this gateway instance.