DitsRegistrationHandler - Specify a handler for task Registration messages.

Function

Specify a handler for task Registration messages.

Description

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

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

The task must have invoked DitsAppInit() with the DITS_M_REGISTRAR flag set for this operation to succeed. This is done by default for the standard Dtcl/Dtk applications.

Call

DitsRegistrationHandler [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 registered and the node on which it has registered. If not supplied, any current handler is removed.

Language

Tcl

See Also

DTCL manual, DitsPutRegistrationHandler(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