mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-05-25 16:24:27 +00:00
SMP agent protocol - duplex messaging (#39)
* duplex messaging commands syntax * update duplex messaging commands * update duplex commands/responses * SMP messages between agents * error for multiple skipped messages * more syntax * more syntax * add diagram: creating duplex connection * fix diagram link * update diagram * update duplex diagram * add queue statuses to the diagram * add "try sending" periods to duplex diagram * diagram: queue status (receive/send) * update queue status * simplify duplex connection to only have two queues * remove error notification sent to another agent, only notify user * remove unused commands, add "unsubscribed" notification * simplified commands and added connection invitation syntax * update SMP agent protocol * duplex protocol correction * corrections (#40) * SMP agent protocol * rename duplex-messaging to agent-protocol * minor fixes * SMP agent protocol corrections Co-authored-by: Efim Poberezkin <8711996+efim-poberezkin@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
d6d23bcac9
commit
cc9b351c65
@@ -22,9 +22,9 @@ $( singletons
|
||||
|
||||
data ConnState
|
||||
= None -- (all) not available or removed from the broker
|
||||
| New -- (recipient, broker) connection created (or received from sender)
|
||||
| Pending -- (recipient, sender) sent to sender out-of-band
|
||||
| Confirmed -- (recipient) confirmed by sender with the broker
|
||||
| New -- (all) connection created (or, for sender, received from recipient)
|
||||
| Pending -- (recipient) sent to sender out-of-band
|
||||
| Confirmed -- (recipient, sender) confirmed by sender with the broker
|
||||
| Secured -- (all) secured with the broker
|
||||
| Disabled -- (broker, recipient) disabled with the broker by recipient
|
||||
deriving (Show, Eq)
|
||||
|
||||
Reference in New Issue
Block a user