mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-08-27 22:34:59 +00:00
fix SMP command mentioned in Duplex subscribe
This commit is contained in:
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user