Sets the gateway ID that uniquely identifies the Gateway instance.
Event Gateway Development
public void setGatewayID(String id)
Constructor, getGatewayID, "Providing Gateway class service and information routines" in the ColdFusion Developer's Guide
Parameter |
Description |
---|---|
id |
The identifier for this gateway instance. |
This method sets a string value that is returned by the getGatewayID method. ColdFusion calls this method to set the gateway ID with the value specified in the gateway instance configuration in the ColdFusion Administrator before it starts the event gateway, even if the Gateway constructor also sets the ID.
The following example is the ColdFusion SocketGateway class setGatewayID method:
public void setGatewayID(String id) { gatewayID = id; }