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:
Evgeny Poberezkin
2021-04-16 19:56:53 +01:00
committed by GitHub
parent d6d23bcac9
commit cc9b351c65
5 changed files with 310 additions and 8 deletions
+3 -3
View File
@@ -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)