DisconnectHandler - Specify a handler for task Disconnect messages.

Function

Specify a handler for task Disconnect messages.

Description

This routine specifies the name of a Tcl procedure which will be invoked whenever a task to which this has a pach disconnects.

Note that any handler already put using DitsPutDisConnectHandler will we invoked after the Dtcl handler has been run.

Call

DisconnectHandler [command]

Parameters

>commandstringA Tcl command to be invoked when a task disconnects The command will be appended with an argument which is a string containing the the name of the task which has disconnected. If not supplied, any current handler is removed.

Language

Tcl

See Also

DTCL manual, DitsPutDisconnectHandler(3).

Support

Tony Farrell, AAO

Click here for the DRAMA home page and here for the AAO home page.

 For more information, contact tjf@aaoepp.aao.gov.au