Mercurial > libervia-backend
comparison sat/bridge/dbus_bridge.py @ 2892:82b781c46841
core: added a rosterResync method to bridge:
rosterResync do a full resynchronisation of roster with server. This should not be needed, but may be useful if user suspect a sync issue for whatever reason.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 07 Apr 2019 18:49:41 +0200 |
parents | eb9fa72eb62b |
children | c7c52c0dc13a |
comparison
equal
deleted
inserted
replaced
2891:6a0f42e9410a | 2892:82b781c46841 |
---|---|
507 @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX, | 507 @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX, |
508 in_signature='s', out_signature='a{sa{sa{ss}}}', | 508 in_signature='s', out_signature='a{sa{sa{ss}}}', |
509 async_callbacks=None) | 509 async_callbacks=None) |
510 def progressGetAllMetadata(self, profile): | 510 def progressGetAllMetadata(self, profile): |
511 return self._callback("progressGetAllMetadata", unicode(profile)) | 511 return self._callback("progressGetAllMetadata", unicode(profile)) |
512 | |
513 @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX, | |
514 in_signature='s', out_signature='', | |
515 async_callbacks=('callback', 'errback')) | |
516 def rosterResync(self, profile_key="@DEFAULT@", callback=None, errback=None): | |
517 return self._callback("rosterResync", unicode(profile_key), callback=callback, errback=errback) | |
512 | 518 |
513 @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX, | 519 @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX, |
514 in_signature='s', out_signature='b', | 520 in_signature='s', out_signature='b', |
515 async_callbacks=None) | 521 async_callbacks=None) |
516 def saveParamsTemplate(self, filename): | 522 def saveParamsTemplate(self, filename): |