Beispiel #1
0
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()
Beispiel #2
0
 def __init__(self, server, port):
     self.manager = CollectorManager()
     self.service = CollectorService(
         manager=self.manager,
         server=server,
         port=port,
         debug=False)
Beispiel #3
0
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()
Beispiel #4
0
 def __init__(self, server, port):
     self.manager = CollectorManager()
     self.service = CollectorService(manager=self.manager,
                                     server=server,
                                     port=port,
                                     debug=False)