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