From 15814663bd6fb4a501afd49dab2e0176d03ad2b9 Mon Sep 17 00:00:00 2001 From: xengineering Date: Fri, 16 Jun 2023 23:17:50 +0200 Subject: Add statemachine diagram for xmpp.session This models the different states of an xmpp.session and helps to implement it correctly. --- doc/session.svg | 300 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 300 insertions(+) create mode 100644 doc/session.svg (limited to 'doc') diff --git a/doc/session.svg b/doc/session.svg new file mode 100644 index 0000000..0d628b6 --- /dev/null +++ b/doc/session.svg @@ -0,0 +1,300 @@ + + + + + + + + + + + + + + + + xmpp.session «statemachine» + + + + + + + + + + xmpp.StartSession() + session.startTransport() + error + disconnect + </stream> + session.openStream() + + xmpp.stream + + + + connected + + + + idle + + + + + + + + + + -- cgit v1.2.3-70-g09d2