Description

Returns the gateway status.

Category

Event Gateway Development

Syntax

public int getStatus()

See also

Providing Gateway class service and information routines in the Developing ColdFusion Applications

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 SocketGateway class getStatus method:

public int getStatus()
{
return status;
}

 

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy