comparison src/bridge/bridge.py @ 918:1597fb8b9108

bridge: remove unecessary signals/methods declarations
author souliane <souliane@mailoo.org>
date Fri, 21 Mar 2014 09:09:51 +0100
parents 1fe00f0c9a91
children 301b342c697a
comparison
equal deleted inserted replaced
917:a9401694d2dc 918:1597fb8b9108
21 21
22 22
23 class Bridge(object): 23 class Bridge(object):
24 def __init__(self): 24 def __init__(self):
25 info("Bridge initialization") 25 info("Bridge initialization")
26
27 ##signals
28 def newContact(self, contact):
29 raise NotImplementedError
30
31 def newMessage(self, from_jid, msg, type='chat'):
32 raise NotImplementedError
33
34 def presenceUpdate(self, type, jid, show, status, priority):
35 raise NotImplementedError
36
37 def paramUpdate(self, name, value):
38 raise NotImplementedError
39
40 ##methods
41 def connect(self):
42 raise NotImplementedError
43
44 def getContacts(self):
45 raise NotImplementedError
46
47 def getPresenceStatus(self):
48 raise NotImplementedError
49
50 def sendMessage(self):
51 raise NotImplementedError
52
53 def setPresence(self, to="", type="", show="", status="", priority=0):
54 raise NotImplementedError
55
56 def setParam(self, name, value, namespace):
57 raise NotImplementedError
58
59 def getParam(self, name, namespace):
60 raise NotImplementedError
61
62 def getParams(self, security_limit, app, namespace):
63 raise NotImplementedError
64
65 def getHistory(self, from_jid, to_jid, size):
66 raise NotImplementedError