First time post in this group, and a Hook.io noob, so pardon any taboos and snafus :)
I've been looking at Hook.io to be the messaging layer of distributed analytics engine that my company is working on. One of the things our messaging layer needs is the ability to send "direct messages" between nodes (or, Hooks, in this case). I've seen it suggested in IRC that Hook.io supports this, but it depends on "how the API is used" (that's the most detail I've found thus far). Anyway, that's some context, and to avoid turning this into a rambling question that's difficult to answer, let me try to break it down into some more concrete questions:
- Is direct messaging (i.e., data is sent directly from hook-a to hook-b without hook-c or hook-server ever seeing it) possible?
- If so, how is direct messaging accomplished?
- Probably unrelated, but I've seen a couple references to the '**' operator (i.e., something like hook.on('**::foo')). I've tried to experiment with this, but things went horribly wrong. An infinite loop ensued resulting in hooks emitting "hook-a::foo", and then "hook-a::foo::foo", and then "hook-a::foo::foo::foo", and so on. This behavior pretty well destroyed any and all theories I had regarding the "**" operators function :)
Thanks in advance for any input!