예제 #1
0
파일: zookeeper.py 프로젝트: dq5070410/vlcp
 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
예제 #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
예제 #3
0
 def closed(self, connection):
     for m in Protocol.closed(self, connection):
         yield m
     connection.responder.mainroutine.close()
     if False:
         yield
예제 #4
0
 def closed(self, connection):
     for m in Protocol.closed(self, connection):
         yield m
     connection.responder.mainroutine.close()
     if False:
         yield