def handle_event(self, headers, payload):
        if headers['eventname'] in self.process_state_events:
            self.handle_process_state_change_event(headers, payload)
        elif headers['eventname'] == self.eventname:
            self.handle_tick_event(headers, payload)
dataset/ETHPy150Open XiaoMi/minos/supervisor/superlance/process_state_monitor.py/ProcessStateMonitor.handle_event/original