restart

Description

Stops a gateway if it is running and starts it up.

Category

Event Gateway Development

Syntax

public void restart()

See also

start, stop

Usage

In most cases, you implement this method as a call to the stop method followed by a start method, but you may be able to optimize the restart method based on the type of gateway.

Example

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

public void restart()
{
   stop();
   start();
}

View comments in LiveDocs