Add Broker::forward() function

This enables explicit forwarding of events matching a given topic
prefix.  Even if a receiving node has an event handler, it will not
be raised if the event was sent along a topic that matches a previous
call to Broker::forward().
This commit is contained in:
Jon Siwek 2018-08-28 19:42:22 -05:00
parent 850030822d
commit 1dcead93bf
10 changed files with 214 additions and 15 deletions

View file

@ -0,0 +1,8 @@
Connected to a peer
Connected to a peer
Connected to a peer
Got fully_connected event
Got fully_connected event
Connected to a peer
Got fully_connected event
Got fully_connected event