DitsRegistrationHandler - Specify a handler for task Registration messages.


Specify a handler for task Registration messages.


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.


DitsRegistrationHandler [command]


>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.



See Also

DTCL manual, DitsPutRegistrationHandler(3).


Tony Farrell, AAO

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

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