vlcp.protocol.protocol.Protocol.notconnected

Here are the examples of the python api vlcp.protocol.protocol.Protocol.notconnected taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

Example 1

Project: vlcp Source File: zookeeper.py
Function: not_connected
    def notconnected(self, connection):
        for m in connection.waitForSend(ZooKeeperConnectionStateEvent(ZooKeeperConnectionStateEvent.NOTCONNECTED,
                                                                      connection,
                                                                      connection.connmark,
                                                                      self)):
            yield m
        for m in Protocol.notconnected(self, connection):
            yield m