Stops a gateway if it is running and starts it up.
Event Gateway Development
public void restart()
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.
The following example is the ColdFusion SocketGateway class restart method:
public void restart() { stop(); start(); }