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

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/s/l/slider-HEAD/slider-agent/src/main/python/agent/main.py   slider(Download)
from Controller import Controller
from AgentConfig import AgentConfig
from NetUtil import NetUtil
 
logger = logging.getLogger()
 
  # Wait until server is reachable
  netutil = NetUtil()
  netutil.try_to_connect(server_url, -1, logger)
 

src/s/l/slider-HEAD/slider-agent/src/main/python/agent/Controller.py   slider(Download)
from Register import Register
from ActionQueue import ActionQueue
from NetUtil import NetUtil
import ssl
import ProcessHelper
    self.registerUrl = server_url + '/ws/v1/slider/agents/' + self.hostname + '/register'
    self.heartbeatUrl = server_url + '/ws/v1/slider/agents/' + self.hostname + '/heartbeat'
    self.netutil = NetUtil()
    self.responseId = -1
    self.repeatRegistration = False