Mercurial > libervia-backend
comparison src/bridge/DBus.py @ 1060:aa15453ec54d
core (xmpp), stdui (profile_manager), bridge, frontends: raise an exception if the XMPP connection failed instead of sending a signal
author | souliane <souliane@mailoo.org> |
---|---|
date | Fri, 23 May 2014 09:59:35 +0200 |
parents | b2b9c184033f |
children | 95758ef3faa8 |
comparison
equal
deleted
inserted
replaced
1059:b2b9c184033f | 1060:aa15453ec54d |
---|---|
135 def connected(self, profile): | 135 def connected(self, profile): |
136 pass | 136 pass |
137 | 137 |
138 @dbus.service.signal(const_INT_PREFIX+const_CORE_SUFFIX, | 138 @dbus.service.signal(const_INT_PREFIX+const_CORE_SUFFIX, |
139 signature='ss') | 139 signature='ss') |
140 def connectionError(self, error_type, profile): | |
141 pass | |
142 | |
143 @dbus.service.signal(const_INT_PREFIX+const_CORE_SUFFIX, | |
144 signature='ss') | |
145 def contactDeleted(self, entity_jid, profile): | 140 def contactDeleted(self, entity_jid, profile): |
146 pass | 141 pass |
147 | 142 |
148 @dbus.service.signal(const_INT_PREFIX+const_CORE_SUFFIX, | 143 @dbus.service.signal(const_INT_PREFIX+const_CORE_SUFFIX, |
149 signature='s') | 144 signature='s') |
545 self.dbus_bridge.askConfirmation(id, conf_type, data, profile) | 540 self.dbus_bridge.askConfirmation(id, conf_type, data, profile) |
546 | 541 |
547 def connected(self, profile): | 542 def connected(self, profile): |
548 self.dbus_bridge.connected(profile) | 543 self.dbus_bridge.connected(profile) |
549 | 544 |
550 def connectionError(self, error_type, profile): | |
551 self.dbus_bridge.connectionError(error_type, profile) | |
552 | |
553 def contactDeleted(self, entity_jid, profile): | 545 def contactDeleted(self, entity_jid, profile): |
554 self.dbus_bridge.contactDeleted(entity_jid, profile) | 546 self.dbus_bridge.contactDeleted(entity_jid, profile) |
555 | 547 |
556 def disconnected(self, profile): | 548 def disconnected(self, profile): |
557 self.dbus_bridge.disconnected(profile) | 549 self.dbus_bridge.disconnected(profile) |