comparison src/bridge/bridge_constructor/dbus_frontend_template.py @ 307:1e4575e12581

Group blog first draft - blog can now be sent, node are automatically created
author Goffi <goffi@goffi.org>
date Thu, 07 Apr 2011 22:23:48 +0200
parents e04ccf122bb6
children 5fc5e6a7e5c3
comparison
equal deleted inserted replaced
306:169e7386650a 307:1e4575e12581
97 return self.db_req_iface.gatewayRegister(action, target, data, profile_key) 97 return self.db_req_iface.gatewayRegister(action, target, data, profile_key)
98 98
99 def getLastMicroblogs(self, jid, max_items, profile_key='@DEFAULT@', callback=None, errback=None): 99 def getLastMicroblogs(self, jid, max_items, profile_key='@DEFAULT@', callback=None, errback=None):
100 return self.db_comm_iface.getLastMicroblogs(jid, max_items, profile_key, reply_handler=callback, error_handler=errback) 100 return self.db_comm_iface.getLastMicroblogs(jid, max_items, profile_key, reply_handler=callback, error_handler=errback)
101 101
102 def getMblogNodes(self, profile_key='@DEFAULT@', callback=None, errback=None):
103 return self.db_comm_iface.getMblogNodes(profile_key, reply_handler=callback, error_handler=errback)
104
105 def sendGroupBlog(self, groups, message, profile_key='@DEFAULT@'):
106 return self.db_comm_iface.sendGroupBlog(groups, message, profile_key)
107
102 def sendPersonalEvent(self, event_type, data, profile_key='@DEFAULT@'): 108 def sendPersonalEvent(self, event_type, data, profile_key='@DEFAULT@'):
103 return self.db_comm_iface.sendPersonalEvent(event_type, data, profile_key) 109 return self.db_comm_iface.sendPersonalEvent(event_type, data, profile_key)
104 110