Mercurial > libervia-backend
comparison frontends/src/bridge/bridge_frontend.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 | 2daf7b4c6756 |
children | 4b78b4c7f805 |
comparison
equal
deleted
inserted
replaced
2097:4bc408b549cd | 2098:e0066920a661 |
---|---|
17 # You should have received a copy of the GNU Affero General Public License | 17 # You should have received a copy of the GNU Affero General Public License |
18 # along with this program. If not, see <http://www.gnu.org/licenses/>. | 18 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
19 | 19 |
20 | 20 |
21 class BridgeFrontend(object): | 21 class BridgeFrontend(object): |
22 def __init__(self): | |
23 print "Bridge frontend initialization" | |
24 | 22 |
25 def register(self, functionName, handler): | 23 def register(self, functionName, handler): |
26 raise NotImplementedError | 24 raise NotImplementedError |
27 | 25 |
28 | 26 |