def __init__(self, *args, **kwargs):
     RedisSubscriber.__init__(self, *args, **kwargs)
     self.msg_channel = None
     self.msg_message = None
     self.msg_received = defer.Deferred()
     self.channel_subscribed = defer.Deferred()
Esempio n. 2
0
 def __init__(self, channel, handler_factory, *args, **kwargs):
     RedisSubscriber.__init__(self, *args, **kwargs)
     self.channel = channel
     self.handler_factory = handler_factory
     self.status = "initialized"
Esempio n. 3
0
 def __init__(self, *args,**kwargs):
     dictOfcallback = kwargs.pop("dictOfcallback",{})
     self.dictOfcallback = dictOfcallback
     RedisSubscriber.__init__(self,*args,**kwargs)
Esempio n. 4
0
 def __init__(self, channel, handler_factory, *args, **kwargs):
     RedisSubscriber.__init__(self, *args, **kwargs)
     self.channel = channel
     self.handler_factory = handler_factory
     self.status = "initialized"
Esempio n. 5
0
 def __init__(self, *args, **kwargs):
     dictOfcallback = kwargs.pop("dictOfcallback", {})
     self.dictOfcallback = dictOfcallback
     RedisSubscriber.__init__(self, *args, **kwargs)
Esempio n. 6
0
 def __init__(self, request_channel, op_factory, *args, **kwargs):
     RedisSubscriber.__init__(self, *args, **kwargs)
     self.channel = request_channel
     self.op_factory = op_factory
Esempio n. 7
0
 def __init__(self, request_channel, op_factory, *args, **kwargs):
     RedisSubscriber.__init__(self, *args, **kwargs)
     self.channel = request_channel
     self.op_factory = op_factory
Esempio n. 8
0
 def __init__(self, websocket_factory):
     RedisSubscriber.__init__(self)
     self.websocket_factory = websocket_factory
 def __init__(self, *args, **kwargs):
     RedisSubscriber.__init__(self, *args, **kwargs)
     self.msg_channel = None
     self.msg_message = None
     self.msg_received = defer.Deferred()
     self.channel_subscribed = defer.Deferred()