aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-11-09 18:46:52 +0100
committerMattias Andrée <maandree@kth.se>2017-11-09 18:46:52 +0100
commitac05b0c1571e517b53dee6a03ba6a58ab4b30f10 (patch)
tree99cb5780ee9d9aa0d7a36d35d10aa06ed226bca5 /README
parentUpdate makefile (diff)
downloadsbus-ac05b0c1571e517b53dee6a03ba6a58ab4b30f10.tar.gz
sbus-ac05b0c1571e517b53dee6a03ba6a58ab4b30f10.tar.bz2
sbus-ac05b0c1571e517b53dee6a03ba6a58ab4b30f10.tar.xz
Add echo control
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'README')
-rw-r--r--README17
1 files changed, 17 insertions, 0 deletions
diff --git a/README b/README
index b538c68..5703c46 100644
--- a/README
+++ b/README
@@ -197,3 +197,20 @@ Flood control:
If the client is blocking it is preferable that messages
are sent in such order that memory is freed up as fast
as possible.
+
+Echos:
+ By default, if a client sends a message with a routing key it is
+ subscribed to, that client will receive that message. The server
+ may however choose to implement control messages for selecting
+ whether this happens. Disabling echoing is useful for implementing
+ slave servers that only send messages upwords in the server
+ hierarchy when necessary. The control messages for controlling
+ echoing are
+
+ ^CMSG echo/off\(\x00.*\)*$
+
+ Disable echoing.
+
+ ^CMSG echo/on\(\x00.*\)*$
+
+ Reenable echoing.