diff sat/core/sat_main.py @ 2691:1ecceac3df96

plugin XEP-0198: Stream Management implementation: - hooks can now be set in stream onElement and send methods - xmllog refactored to use new hooks - client.isConnected now uses transport.connected method - fixed reconnection, SàT will now try to reconnect indefinitely until it success, unresolvable failure happen (e.g. invalid certificate), or explicit disconnection is requested (or a plugin change this behaviour) - new triggers: "stream_hooks", "disconnecting", "disconnected", and "xml_init" (replace "XML Initialized")
author Goffi <goffi@goffi.org>
date Sun, 18 Nov 2018 15:49:46 +0100
parents d715d912afac
children e347e32aa07f
line wrap: on
line diff
--- a/sat/core/sat_main.py	Sat Nov 10 10:16:38 2018 +0100
+++ b/sat/core/sat_main.py	Sun Nov 18 15:49:46 2018 +0100
@@ -46,6 +46,7 @@
 import os.path
 import uuid
 
+
 try:
     from collections import OrderedDict  # only available from python 2.7
 except ImportError: