User Guide Cancel

restart

 

Description

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

Category

Event Gateway Development

Syntax

public void restart()

See also

startstop

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

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

 

 

Get help faster and easier

New user?