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