def METHOD_NAME(self):
    self.server.timeout = 1
    bb.utils.set_process_name("UIEventQueue")
    while not self.server.quit:
        try:
            self.server.handle_request()
        except Exception as e:
            import traceback
            logger.error("BBUIEventQueue.startCallbackHandler: Exception while trying to handle request: %s\n%s" % (e, traceback.format_exc()))
    self.server.server_close()