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 Creating Custom Event Gateways in ColdFusion MX 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 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.
The following example is the ColdFusion MX SocketGateway class setGatewayID
method:
public void setGatewayID(String id) { gatewayID = id; }