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