diff options
Diffstat (limited to 'state_diagram.txt')
-rw-r--r-- | state_diagram.txt | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/state_diagram.txt b/state_diagram.txt new file mode 100644 index 0000000..2da76b1 --- /dev/null +++ b/state_diagram.txt @@ -0,0 +1,27 @@ +@startuml +:MQTT service starts; +start + +if (certificate expired) then + #pink:raise error; + kill +endif +:start accepting connections; +:check certificate; + +if (expiring soon) then (yes) + :generate new certificate; + :send to clients; + + if (confirmation NOK) then + #pink:raise error; + kill + endif + :restart MQTT; + +else (no) + :continue; +endif + +stop +@enduml |