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
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