Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)

src/b/o/bombardier_server-1.10-783/lib/cnm/MachineInterface.py   bombardier_server(Download)
from Exceptions import SecureCopyException
from AbstractMachineInterface import AbstractMachineInterface
from AbstractMachineInterface import DISCONNECTED, CONNECTED, BROKEN
            self.status = BROKEN
            return FAIL
        self.status = CONNECTED
        self.connect_time = time.time()
        return OK
            connection_age > CONNECTION_TIMEOUT or \
            self.status == BROKEN:
            if self.status == CONNECTED:
                msg = "Assuming our connection to %s is stale after "\
                      "%4.2f minutes. Reconnecting..."