Mercurial > libervia-backend
comparison plugins/plugin_xep_0096.py @ 19:f2a745ca0fbc
refactoring: using xml params part III (parameters import)
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 07 Nov 2009 21:23:28 +0100 |
parents | 218ec9984fa5 |
children | bb72c29f3432 |
comparison
equal
deleted
inserted
replaced
18:6928e3cb73a8 | 19:f2a745ca0fbc |
---|---|
49 "description": """Implementation of SI File Transfert""" | 49 "description": """Implementation of SI File Transfert""" |
50 } | 50 } |
51 | 51 |
52 class XEP_0096(XMPPHandler): | 52 class XEP_0096(XMPPHandler): |
53 implements(iwokkel.IDisco) | 53 implements(iwokkel.IDisco) |
54 | 54 |
55 def __init__(self, host): | 55 def __init__(self, host): |
56 info("Plugin XEP_0096 initialization") | 56 info("Plugin XEP_0096 initialization") |
57 self.host = host | 57 self.host = host |
58 self._waiting_for_approval = {} | 58 self._waiting_for_approval = {} |
59 host.bridge.addMethod("sendFile", ".communication", in_sign='ss', out_sign='s', method=self.sendFile) | 59 host.bridge.addMethod("sendFile", ".communication", in_sign='ss', out_sign='s', method=self.sendFile) |