DitsConnectHandler - Specify a handler for task Connect messages.

Function

Specify a handler for task Connect messages.

Description

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

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

Call

DitsConnectHandler [command]

Parameters

>commandstringA Tcl command to be invoked when a task Connects The command will be appended with an argument which is a string containing the the name of the task which has connected. If not supplied, any current handler is removed. At this point this command cannot cause the connection to be rejected or the path details to be modified. If you need to do that, you need to use the C level DitsPutConnectHandler function.

Language

Tcl

See Also

DTCL manual, DitsPutConnectHandler(3).

Support

Tony Farrell, AAO

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

 For more information, contact tony.farrell@mq.edu.au