comparison src/bridge/DBus.py @ 1414:159d16336f87

core, bridge, jp: management of service discovery extensions (XEP-0128)
author Goffi <goffi@goffi.org>
date Fri, 17 Apr 2015 22:59:35 +0200
parents 069ad98b360d
children 7590bbf44eed
comparison
equal deleted inserted replaced
1413:e5393b12dd0f 1414:159d16336f87
233 async_callbacks=('callback', 'errback')) 233 async_callbacks=('callback', 'errback'))
234 def delContact(self, entity_jid, profile_key="@DEFAULT@", callback=None, errback=None): 234 def delContact(self, entity_jid, profile_key="@DEFAULT@", callback=None, errback=None):
235 return self._callback("delContact", unicode(entity_jid), unicode(profile_key), callback=callback, errback=errback) 235 return self._callback("delContact", unicode(entity_jid), unicode(profile_key), callback=callback, errback=errback)
236 236
237 @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX, 237 @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX,
238 in_signature='ss', out_signature='(asa(sss))', 238 in_signature='ss', out_signature='(asa(sss)a{sa(a{ss}as)})',
239 async_callbacks=('callback', 'errback')) 239 async_callbacks=('callback', 'errback'))
240 def discoInfos(self, entity_jid, profile_key, callback=None, errback=None): 240 def discoInfos(self, entity_jid, profile_key, callback=None, errback=None):
241 return self._callback("discoInfos", unicode(entity_jid), unicode(profile_key), callback=callback, errback=errback) 241 return self._callback("discoInfos", unicode(entity_jid), unicode(profile_key), callback=callback, errback=errback)
242 242
243 @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX, 243 @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX,