fix SMP command mentioned in Duplex subscribe

This commit is contained in:
Efim Poberezkin
2020-12-25 19:18:37 +04:00
parent 990ff1d7ed
commit 6249bf749e
+5 -1
View File
@@ -122,10 +122,14 @@ Subscribes/unsubscribes user to/from SMP queue.
>
> \* -> commands TBQueue -> client thread; client thread is blocked until receives answer from SMP server -> \#
>
> \* -> srv snd TBQueue -> "server send" thread -> Either `subscribe` or `suspend` SMP command is sent through SMP client connection TCP socket -> SMP server responds with first available message or if there is none with SMP `ok` command back to SMP client connection TCP socket -> "server receive" thread -> srv rcv TBQueue -> client thread; client thread becomes unblocked -> \#
> \* -> srv snd TBQueue -> "server send" thread -> `subscribe` SMP command is sent through SMP client connection TCP socket -> SMP server responds with first available message or if there is none with SMP `ok` command back to SMP client connection TCP socket -> "server receive" thread -> srv rcv TBQueue -> client thread; client thread becomes unblocked -> \#
>
> \# -> user SMP TBQueue -> "process responses" thread -> queue is persisted as Disabled -> Duplex [`ok`](#ok) command sent to user send TBQueue -> "user send" thread -> user connection TCP socket -> agent client
- **Q - Which SMP command is sent to the SMP server on Duplex `subscribe Off`?**
A -
#### `getStatus`
#### `send`