User Guide

968 Chapter 6: ColdFusion MX Event Gateway Reference
getStatus
Description
Returns the gateway status.
Category
Event Gateway Development
Syntax
public int getStatus()
See also
“Providing Gateway class service and information routines” in Chapter 45, “Creating Custom
Event Gateways” in ColdFusion MX Developer’s Guide
Returns
An integer status value. The Gateway interface defines the following status constants:
STARTING
RUNNING
STOPPING
STOPPED
FAILED
Example
The following example is the ColdFusion MX SocketGateway class getStatus method:
public int getStatus()
{
return status;
}