company logo

Client :: shutDownServer - Start server shut down

The function signals the server to shut down after a defined time interval. A message is sent to clients in order to inform clients, that the server is going to shut down.

The function throws an exception, when the client handle is not valid or not connected to a server. An exception is also thrown, when shutting down the server failed for any other reason.

Implementation overview

Implementation details

  1. Shut down server after 10 minutes
    Client  :: shutDownServer (  )

    The function is called in order to shut down the server after ten minutes. A shutting down message is sent to all active clients.

  2. to list
  3. Shut down server after application-defined time interval
    Client  :: shutDownServer ( int32 iWait )

    The server starts shutting down after the time interval passed in iWait.

    • iWait - Number of seconds to wait

      The system waits the given number of seconds before executing the request.

  4. to list