Exemple #1
0
 def notconnected(self, connection):
     for m in Protocol.notconnected(self, connection):
         yield m
     for m in connection.waitForSend(
             RedisConnectionStateEvent(
                 RedisConnectionStateEvent.CONNECTION_NOTCONNECTED,
                 connection, connection.connmark, self)):
         yield m
Exemple #2
0
 def notconnected(self, connection):
     for m in Protocol.notconnected(self, connection):
         yield m
     for m in connection.waitForSend(
         RawConnectionStateEvent(
             RawConnectionStateEvent.CONNECTION_NOTCONNECTED, connection, connection.connmark, self
         )
     ):
         yield m