Lines Matching refs:event_name
218 def process_event(self, event_name, event_data): argument
225 logging.debug('Processing %s %s', event_name, event_data)
226 if event_name in START_EVENTS:
227 self.event_stack.append(event_name)
228 elif event_name in END_EVENTS:
229 self._check_events_are_balanced(event_name, self.reporter)
230 if event_name in self.switch_handler:
231 self.switch_handler[event_name](self, event_data)
235 logging.debug('Event[%s] is not processable.', event_name)
237 def _check_events_are_balanced(self, event_name, reporter): argument
250 if not start_event or EVENT_PAIRS[start_event] != event_name:
268 event_name))