comparison src/bridge/bridge_constructor/dbus_frontend_template.py @ 337:4402ac630712

bridge: async callback managed in bridge_constructor + misc - the new flag async make the method asynchronous - new method asyncConnect (connect which return when the user is connected) - setMicroblogAccess added to DBus frontend
author Goffi <goffi@goffi.org>
date Thu, 26 May 2011 16:47:09 +0200
parents 5fc5e6a7e5c3
children eb9d33ba4e36
comparison
equal deleted inserted replaced
336:953536246d9d 337:4402ac630712
108 def sendGroupBlog(self, groups, message, profile_key='@DEFAULT@'): 108 def sendGroupBlog(self, groups, message, profile_key='@DEFAULT@'):
109 return self.db_comm_iface.sendGroupBlog(groups, message, profile_key) 109 return self.db_comm_iface.sendGroupBlog(groups, message, profile_key)
110 110
111 def sendPersonalEvent(self, event_type, data, profile_key='@DEFAULT@'): 111 def sendPersonalEvent(self, event_type, data, profile_key='@DEFAULT@'):
112 return self.db_comm_iface.sendPersonalEvent(event_type, data, profile_key) 112 return self.db_comm_iface.sendPersonalEvent(event_type, data, profile_key)
113
114 def setMicroblogAccess(self, access="presence", profile_key='@DEFAULT@', callback=None, errback=None):
115 return self.db_comm_iface.setMicroblogAccess(access, profile_key, reply_handler=callback, error_handler=errback)
113 116