xo::MessageRelay method subscribe (public)

 <instance of xo::MessageRelay[i]> subscribe [ -initmsg initmsg ] \
    [ -mode mode ] key

Defined in packages/xotcl-core/tcl/message-relay-procs.tcl

Subscribe to a service identified by a key.

Switches:
-initmsg
(optional)
optional message to be sent, when subscription happens
-mode
(defaults to "default") (optional)
optional mode
Parameters:
key - unique id for a (potentially new communication hub)

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.
[ show source ]
Show another procedure: