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
 
#Statuses:
            self.polling_log.error(msg)
            self.server_log.error(msg, self.machine_name)
            self.status = BROKEN
            return FAIL
        self.status = CONNECTED
        if self.status == DISCONNECTED or \
            connection_age > CONNECTION_TIMEOUT or \
            self.status == BROKEN:
            if self.status == CONNECTED:
                msg = "Assuming our connection to %s is stale after "\