Ejemplo n.º 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'] = ''
Ejemplo n.º 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"
Ejemplo n.º 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
Ejemplo n.º 4
0
Archivo: event.py Proyecto: code2u/jsb
 def __init__(self, bot=None): 
     EventBase.__init__(self, bot=bot)
     self.bottype = "tornado"
     self.cbtype = "TORNADO"
     self.bot = bot
     self.how = "overwrite"
Ejemplo n.º 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'] = ''
Ejemplo n.º 6
0
Archivo: event.py Proyecto: code2u/jsb
 def __init__(self, bot=None):
     EventBase.__init__(self, bot=bot)
     self.bottype = "web"
     self.cbtype = "WEB"
     self.bot = bot
Ejemplo n.º 7
0
 def __init__(self, bot=None): 
     EventBase.__init__(self)
     self.bottype = "xmpp"
     self.cbtype = 'MESSAGE'
     self.bot = bot
Ejemplo n.º 8
0
 def __init__(self, bot=None):
     EventBase.__init__(self)
     self.bottype = "xmpp"
     self.cbtype = 'MESSAGE'
     self.bot = bot
Ejemplo n.º 9
0
 def __init__(self, bot=None): 
     EventBase.__init__(self, bot=bot)
     self.bottype = "tornado"
     self.cbtype = "TORNADO"
     self.bot = bot
     self.how = "overwrite"
Ejemplo n.º 10
0
 def __init__(self, bot=None):
     EventBase.__init__(self, bot=bot)
     self.bottype = "web"
     self.cbtype = "WEB"
     self.bot = bot