-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added this directory to tack the protocol diagrams. Initial added: - Connection Signed-off-by: Alba Hita Catala <ahitacat@redhat.com>
- Loading branch information
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
sequenceDiagram | ||
participant S as server | ||
participant B as broker | ||
participant Y as yggdrasil | ||
participant D as DBus | ||
participant W as workerEcho | ||
|
||
par Connect | ||
Y ->> D: Get dispatchers | ||
Y ->> B: connect to broker | ||
Note right of Y: "yggdrasil Set last will (Disconnect)" | ||
Y ->> S: control/out {"type":"connection-status", "dispatchers":{}} | ||
end | ||
par Data Messages | ||
S ->> Y: Data messages | ||
Y ->> W: Data Message | ||
end | ||
par Control Messages | ||
S ->> Y: Control Messages | ||
and | ||
Y ->> S: Event Message | ||
end | ||
par Disconnect | ||
Note right of Y: "yggdrasil Disconnect" | ||
B ->> S: control/out {"type":"connection-status","state":"offline"} | ||
end |
Empty file.