Mercurial > libervia-backend
diff src/bridge/DBus.py @ 1622:5b24d6bf5d15
core, bridge: actionsGet:
- added a new mechanism to keep actions until they are answered (or timeout-ed)
- keep_id must be explicitly used on actionNew
- actionsGet is used to retrive these actions
- the mechanism is used in deferXMLUI
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 17 Nov 2015 21:28:58 +0100 |
parents | e2ed8009e66e |
children | 63cef4dbf2a4 |
line wrap: on
line diff
--- a/src/bridge/DBus.py Tue Nov 17 20:18:51 2015 +0100 +++ b/src/bridge/DBus.py Tue Nov 17 21:28:58 2015 +0100 @@ -213,6 +213,12 @@ ### methods ### @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX, + in_signature='s', out_signature='a(a{ss}si)', + async_callbacks=None) + def actionsGet(self, profile_key="@DEFAULT@"): + return self._callback("actionsGet", unicode(profile_key)) + + @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX, in_signature='ss', out_signature='', async_callbacks=None) def addContact(self, entity_jid, profile_key="@DEFAULT@"):