Beispiel #1
0
 def buildProtocol(self, addr):
     print "Connected to redis (Command Connection)."
     protocol = RedisClientFactory.buildProtocol(self, addr)
     self.services.redis = protocol
     return protocol