Here are the examples of the python api vlcp.protocol.protocol.Protocol.closed taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
2 Examples
3
Example 1
def closed(self, connection):
for m in Protocol.closed(self, connection):
yield m
connection.responder.mainroutine.close()
if False:
yield
3
Example 2
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