Exemple #1
0
 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
Exemple #2
0
 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
Exemple #3
0
 def closed(self, connection):
     for m in Protocol.closed(self, connection):
         yield m
     connection.responder.mainroutine.close()
     if False:
         yield
Exemple #4
0
 def closed(self, connection):
     for m in Protocol.closed(self, connection):
         yield m
     connection.responder.mainroutine.close()
     if False:
         yield