aboutsummaryrefslogtreecommitdiff
path: root/doc/puml/upbin-seq.puml
diff options
context:
space:
mode:
authorDavid Timber <mieabby@gmail.com>2021-09-11 11:20:15 +0800
committerDavid Timber <mieabby@gmail.com>2021-09-11 11:20:15 +0800
commit870eafdd7874faf096f7afbc5e016a166144f356 (patch)
tree50143876db852b0dfdb4e570ceeb08560955ee90 /doc/puml/upbin-seq.puml
parenteb56a23613638ca705f5be707cacc1b0989a2a76 (diff)
The Heartbeat Protocol documentation progress
Diffstat (limited to 'doc/puml/upbin-seq.puml')
-rw-r--r--doc/puml/upbin-seq.puml23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/puml/upbin-seq.puml b/doc/puml/upbin-seq.puml
new file mode 100644
index 0000000..2983dee
--- /dev/null
+++ b/doc/puml/upbin-seq.puml
@@ -0,0 +1,23 @@
+@startuml upbin-seq
+"A" -> "S": +UP_BIN
+"A" -> "S": Binary Meta Frame
+"S" -> "S": open() tmpfile
+"A" -> "S": +STDIO
+"A" -> "S": STDIO Frame
+"A" -> "S": Binary Data
+"S" -> "S": write()
+"A" -> "S": +STDIO
+"A" -> "S": STDIO Frame
+"A" -> "S": Binary Data
+"S" -> "S": write()
+Note across: Repeat ...
+"A" -> "S": +STDIO
+"A" -> "S": STDIO Frame, fin
+"S" -> "S": close(), rename()
+
+"S" --> "A": Status
+"S" --> "A": Status Frame
+"S" --> "A" !!: Terminate connection
+
+"S" -> "S": clean up, exec()
+@enduml