getStatus

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; 
    }