From 870eafdd7874faf096f7afbc5e016a166144f356 Mon Sep 17 00:00:00 2001 From: David Timber Date: Sat, 11 Sep 2021 11:20:15 +0800 Subject: The Heartbeat Protocol documentation progress --- doc/puml/upbin-seq.puml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 doc/puml/upbin-seq.puml (limited to 'doc/puml/upbin-seq.puml') 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 -- cgit