Beispiel #1
0
 def __init__(self, input={}):
     if input == None: EventBase.__init__(self)
     else: EventBase.__init__(self, input)
     try:
         self['fromm'] = self['from']
     except (KeyError, TypeError):
         self['fromm'] = ''
Beispiel #2
0
 def __init__(self):
     EventBase.__init__(self)
     self.bottype = "wave"
     self.msg = False
     self.target = None
     self.roottarget = None
     self.rootreply = None
     self.gadget = None
     self.result = []
     self.cbtype = "BLIP_SUBMITTED"
Beispiel #3
0
 def __init__(self):
     EventBase.__init__(self)
     self.bottype = "wave"
     self.msg = False
     self.target = None
     self.roottarget = None
     self.rootreply = None
     self.gadget = None
     self.result = []
     self.cbtype = "BLIP_SUBMITTED"
     self.overload = True
Beispiel #4
0
 def __init__(self, bot=None): 
     EventBase.__init__(self, bot=bot)
     self.bottype = "tornado"
     self.cbtype = "TORNADO"
     self.bot = bot
     self.how = "overwrite"
Beispiel #5
0
 def __init__(self, input={}):
     if input == None: EventBase.__init__(self)
     else: EventBase.__init__(self, input)
     try: self['fromm'] = self['from']
     except (KeyError, TypeError): self['fromm'] = ''
Beispiel #6
0
 def __init__(self, bot=None):
     EventBase.__init__(self, bot=bot)
     self.bottype = "web"
     self.cbtype = "WEB"
     self.bot = bot
Beispiel #7
0
 def __init__(self, bot=None): 
     EventBase.__init__(self)
     self.bottype = "xmpp"
     self.cbtype = 'MESSAGE'
     self.bot = bot
Beispiel #8
0
 def __init__(self, bot=None):
     EventBase.__init__(self)
     self.bottype = "xmpp"
     self.cbtype = 'MESSAGE'
     self.bot = bot
Beispiel #9
0
 def __init__(self, bot=None): 
     EventBase.__init__(self, bot=bot)
     self.bottype = "tornado"
     self.cbtype = "TORNADO"
     self.bot = bot
     self.how = "overwrite"
Beispiel #10
0
 def __init__(self, bot=None):
     EventBase.__init__(self, bot=bot)
     self.bottype = "web"
     self.cbtype = "WEB"
     self.bot = bot