Esempio n. 1
0
 def __init__(self, name):
     BaseService.__init__(self, name)
     self._service_manager = ServiceManager("service-manager")  # workers each handle one rest endpoint
     self.event_loop_state = RoundRobinIndexer(2)
Esempio n. 2
0
 def __init__(self, name):
     BaseService.__init__(self, name)
     self._service_manager = ServiceManager(
         "service-manager")  # workers each handle one rest endpoint
     self.event_loop_state = RoundRobinIndexer(2)
Esempio n. 3
0
 def __init__(self, name):
     scales.init(self, '/service-manager')
     BaseService.__init__(self, name)
     self._directory = {}
     self.started_services = Queue()
     self._directory_service_proxy = DirectoryService(self._directory)
Esempio n. 4
0
 def __init__(self, name):
     scales.init(self, '/service-manager')
     BaseService.__init__(self, name)
     self._directory = {}
     self.started_services = Queue()
     self._directory_service_proxy = DirectoryService(self._directory)