class RegularBus: """ bus = RegularBus() bus.start_trace() """ def __init__(self, server, port): self.manager = CollectorManager() self.service = CollectorService(manager=self.manager, server=server, port=port, debug=False) def lets_go(self): log.startLogging(sys.stdout) self.manager.start_trace() self.service.start()
def __init__(self, server, port): self.manager = CollectorManager() self.service = CollectorService( manager=self.manager, server=server, port=port, debug=False)
class RegularBus: """ bus = RegularBus() bus.start_trace() """ def __init__(self, server, port): self.manager = CollectorManager() self.service = CollectorService( manager=self.manager, server=server, port=port, debug=False) def lets_go(self): log.startLogging(sys.stdout) self.manager.start_trace() self.service.start()
def __init__(self, server, port): self.manager = CollectorManager() self.service = CollectorService(manager=self.manager, server=server, port=port, debug=False)