Shut down functions

Use the following functions to shut down:

Function

Synchronous/
Asynchronous

Description

ctaDetachObject

Synchronous

Enables applications to disconnect from service objects created by other applications on local and remote servers.

ctaCloseServices

Asynchronous

Closes one or more services on a context.

ctaDestroyContext

Asynchronous

Destroys the context and closes all currently opened services. Clears CTA_PERSISTENT_CONTEXT, if set, when the last application attached to the context calls this function.

ctaDestroyQueue

Synchronous

Destroys all contexts created on the event queue, closes all currently opened services, and destroys the event queue.

ctaShutdown

Synchronous

Shuts down and restarts the Natural Access Server (ctdaemon), as well as shuts down and reboots the server host system.


Refer to Closing services for more information.