Mercurial > libervia-backend
comparison src/bridge/bridge_constructor/dbus_frontend_template.py @ 419:6c167a2e04b8
bridge: added generic D-Bus exception management + asyncCreateProfile method
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 02 Nov 2011 22:47:59 +0100 |
parents | 10b4f577d0c0 |
children | c243f4cb2ad9 |
comparison
equal
deleted
inserted
replaced
418:199cf4ebcc74 | 419:6c167a2e04b8 |
---|---|
22 from bridge_frontend import BridgeFrontend | 22 from bridge_frontend import BridgeFrontend |
23 import dbus, dbus.glib | 23 import dbus, dbus.glib |
24 from logging import debug, error | 24 from logging import debug, error |
25 | 25 |
26 const_INT_PREFIX = "org.goffi.SAT" #Interface prefix | 26 const_INT_PREFIX = "org.goffi.SAT" #Interface prefix |
27 const_ERROR_PREFIX = const_INT_PREFIX+".error" | |
27 const_OBJ_PATH = '/org/goffi/SAT/bridge' | 28 const_OBJ_PATH = '/org/goffi/SAT/bridge' |
28 const_CORE_SUFFIX = ".core" | 29 const_CORE_SUFFIX = ".core" |
29 const_PLUGIN_SUFFIX = ".plugin" | 30 const_PLUGIN_SUFFIX = ".plugin" |
30 | 31 |
31 class BridgeExceptionNoService(Exception): | 32 class BridgeExceptionNoService(Exception): |