xo::MessageRelay method subscribe (public)
<instance of xo::MessageRelay> 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):
- Testcases:
- No testcase defined.