equal
deleted
inserted
replaced
22 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
22 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
23 |
23 |
24 |
24 |
25 from __future__ import print_function |
25 from __future__ import print_function |
26 import sys |
26 import sys |
|
27 import json |
|
28 |
27 from autobahn.twisted import wamp |
29 from autobahn.twisted import wamp |
28 from autobahn.twisted.websocket import WampWebSocketClientFactory, connectWS |
30 from autobahn.twisted.websocket import WampWebSocketClientFactory, connectWS |
29 from twisted.internet.defer import inlineCallbacks |
31 from twisted.internet.defer import inlineCallbacks |
30 from autobahn.wamp import types |
32 from autobahn.wamp import types |
31 from autobahn.wamp.serializer import MsgPackSerializer |
33 from autobahn.wamp.serializer import MsgPackSerializer |
32 from twisted.internet.protocol import ReconnectingClientFactory |
34 from twisted.internet.protocol import ReconnectingClientFactory |
33 import json |
35 |
34 |
36 |
35 _WampSession = None |
37 _WampSession = None |
36 _PySrv = None |
38 _PySrv = None |
37 |
39 |
38 ExposedCalls = ["StartPLC", |
40 ExposedCalls = ["StartPLC", |