+ result of command by us
& asynchronous, not related to a specific command
= related to this actual multiplexer client connection
+ | result of replay
======================================================================
L> replay [[~]<glob-pattern>...] if none, uses result from select
O< +executing replay
- R< +<all messages saved for replay, ie those marked with R< above,
+ R< |<all messages saved for replay, ie those marked with R< above,
matching the patterns, all of which will be prefixed with + this time>
O< +ack replay ok
proc do-replay {conn} {
global replay
foreach pk [lsort [array names replay]] {
- set m "+[string range $pk 3 end] $replay($pk)"
+ set m "|[string range $pk 3 end] $replay($pk)"
xmit-only $conn $m
}
}