示例#1
0
 def Launch(self, pipe):
     logging.info("UDP Launched")
     self.pipe = get_timeout_pipe(pipe)
     spinner = CPUSpinnerController()
     self.ev = EventManager()
     self.ev.register_listener(self)
     self.ev.register_listener(spinner)
     spinner.run(self.ev)
示例#2
0
 def Launch(self, pipe=None):
     self.pipe = get_timeout_pipe(pipe)
     spinner = CPUSpinnerController()
     self.ev.register_listener(spinner)
     spinner.run(self.ev)