ns_atclose(3aolserver)

ns_atclose3aolserver

Facilities to register a script callback.

Usage

ns_atclose script
ns_atexit script
ns_atshutdown script
ns_atsignal script

    


    


    

Overview

These commands register a callback to execute a later time. The callbacks are executed once in the context of the current Tcl interpreter.

ns_atclose script

Invoke given script when the current connection is closed. The callback can be registered within the Tcl interpreter associated with the current HTTP connection; if no connection exists, and error is returned.

ns_atexit script

Invoke given script before the AOLserver exists after all virtual servers have stopped.

ns_atshutdown script

Invoke given script when the current virtual server is shutdown during AOLserver exit.

ns_atsignal script

Invoke given script when a SIGHUP signal is received in the main startup thread of the AOLserver.

Keywords

shutdown, callback

Releases

Unchanged in 5 releases since Debian 5.0 (Lenny).

  1. 5.0–9

From aolserver4-dev 4.5.1-18.1 in Debian 9 (Stretch). Parsed by carta from the page's man source.