diff --git a/design/agent-commands.md b/design/agent-commands.md index 70a65eeeb..d060a110f 100644 --- a/design/agent-commands.md +++ b/design/agent-commands.md @@ -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`