Whatever message this page gives is out now! Go check it out!

restart

Last update:
May 18, 2026

Description

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

Category

Event Gateway Development

Syntax

public void restart()

See also

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

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page