getStatus

Description

Returns the gateway status.

Category

Event Gateway Development

Syntax

public int getStatus()

See also

Providing Gateway class service and information routines in Creating Custom Event Gateways in ColdFusion MX Developer's Guide

Returns

An integer status value. The Gateway interface defines the following status constants:

Example

The following example is the ColdFusion MX SocketGateway class getStatus method:

public int getStatus()
   {
      return status;
   }

View comments in LiveDocs