def closed(self, connection): for m in connection.waitForSend(ZooKeeperConnectionStateEvent(ZooKeeperConnectionStateEvent.DOWN, connection, connection.connmark, self)): yield m for m in Protocol.closed(self, connection): yield m
def closed(self, connection): for m in connection.waitForSend( ZooKeeperConnectionStateEvent( ZooKeeperConnectionStateEvent.DOWN, connection, connection.connmark, self)): yield m for m in Protocol.closed(self, connection): yield m
def closed(self, connection): for m in Protocol.closed(self, connection): yield m connection.responder.mainroutine.close() if False: yield