comparison frontends/src/bridge/bridge_frontend.py @ 2167:4b78b4c7f805

core, frontends: various fixes for Libervia: - quick_app: don't fail when we can't get autodisconnect parameter - bridge: removed useless BridgeFrontend parent class - use of TypeError, unicode and list to workaround Pyjamas incompatibilities
author Goffi <goffi@goffi.org>
date Sun, 26 Feb 2017 18:23:01 +0100
parents e0066920a661
children 8b37a62336c3
comparison
equal deleted inserted replaced
2166:1b3fbb76984b 2167:4b78b4c7f805
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU Affero General Public License for more details. 15 # GNU Affero General Public License for more details.
16 16
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
20
21 class BridgeFrontend(object):
22
23 def register(self, functionName, handler):
24 raise NotImplementedError
25 19
26 20
27 class BridgeException(Exception): 21 class BridgeException(Exception):
28 """An exception which has been raised from the backend and arrived to the frontend.""" 22 """An exception which has been raised from the backend and arrived to the frontend."""
29 23