--- a/connectors/WAMP/__init__.py Mon Aug 14 22:30:41 2017 +0300
+++ b/connectors/WAMP/__init__.py Mon Aug 14 23:27:15 2017 +0300
@@ -38,6 +38,7 @@
_WampConnection = None
_WampSessionEvent = Event()
+
class WampSession(wamp.ApplicationSession):
def onJoin(self, details):
global _WampSession, _WampSessionEvent
@@ -56,6 +57,7 @@
"GetPLCstatus" : ("Broken",None),
"RemoteExec" : (-1, "RemoteExec script failed!")}
+
def WAMP_connector_factory(uri, confnodesroot):
"""
WAMP://127.0.0.1:12345/path#realm#ID