edmiStopServer

edmiStopServer


 

EdmiError edmiStopServer(SdaiString password, SdaiClientId clientId, SdaiOptions options);

Terminates the actual EDMserver process. The EDMserver process will not terminate before all connected clients have disconnected. No new connections from the clients are accepted after the edmiStopServer function is executed. The EDMdatabase used by the actual EDMserver will be closed before the EDMserver is terminated. This function is protected by the superuser password, i.e. this function can be performed by the superuser and any other users that can supply the password of the superuser.

Arguments


Type

Name

Comment

SdaiString

password

The password of the EDMuser superuser. If the calling user is already connected as EDMuser superuser, the <password> argument is dummy.

SdaiClientId

clientId

 

SdaiOptions

options

 

Return Value


Options


 

Option

Comment

Option

Comment

FORCE_TO_TERMINATE

 

CLOSE_SERVER_OUTPUT_WINDOW

 

ALL_SERVERS

 

Example


 

EdmiError rstat; ... if (rstat = edmiStopServer ("x@dkh-a")) { /* Error in operation */ printf("\nError in edmiStopServer: %s", edmiGetErrorText(rstat)); goto error; } . . .

 

See also

Filter by label

There are no items with the selected labels at this time.