comparison src/bridge/bridge_constructor/constructors/embedded/embedded_template.py @ 2098:e0066920a661

primitivus, jp: dynamic bridge + fixed D-Bus bridge: Primitivus and jp can now load the bridge specified in sat.conf, but they are only working with D-Bus so far (need to change all sync calls to async). Exit code 3 is used for Bridge init error.
author Goffi <goffi@goffi.org>
date Sun, 18 Dec 2016 16:28:51 +0100
parents f413bfc24458
children 442423faf220
comparison
equal deleted inserted replaced
2097:4bc408b549cd 2098:e0066920a661
22 from sat.core import exceptions 22 from sat.core import exceptions
23 23
24 24
25 class _Bridge(object): 25 class _Bridge(object):
26 def __init__(self): 26 def __init__(self):
27 log.info(u"Init embedded bridge...") 27 log.debug(u"Init embedded bridge...")
28 self._methods_cbs = {} 28 self._methods_cbs = {}
29 self._signals_cbs = { 29 self._signals_cbs = {
30 "core": {}, 30 "core": {},
31 "plugin": {} 31 "plugin": {}
32 } 32 }