Mercurial > libervia-backend
comparison src/plugins/plugin_xep_0060.py @ 372:f964dcec1611
core: plugins refactored according to bridge + updatedValue now use profile
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 06 Jul 2011 01:06:18 +0200 |
parents | 53adec87d1d7 |
children | cf005701624b |
comparison
equal
deleted
inserted
replaced
371:3ea41a199b36 | 372:f964dcec1611 |
---|---|
45 def __init__(self, host): | 45 def __init__(self, host): |
46 info(_("PubSub plugin initialization")) | 46 info(_("PubSub plugin initialization")) |
47 self.host = host | 47 self.host = host |
48 self.managedNodes=[] | 48 self.managedNodes=[] |
49 self.clients={} | 49 self.clients={} |
50 """host.bridge.addMethod("getItems", ".communication", in_sign='ssa{ss}s', out_sign='as', method=self.getItems, | 50 """host.bridge.addMethod("getItems", ".plugin", in_sign='ssa{ss}s', out_sign='as', method=self.getItems, |
51 async = True, | 51 async = True, |
52 doc = { 'summary':'retrieve items', | 52 doc = { 'summary':'retrieve items', |
53 'param_0':'service: pubsub service', | 53 'param_0':'service: pubsub service', |
54 'param_1':'node: node identifier', | 54 'param_1':'node: node identifier', |
55 'param_2':'\n'.join(['options: can be:', | 55 'param_2':'\n'.join(['options: can be:', |