Lines Matching refs:event_name
216 def process_event(self, event_name, event_data): argument
223 logging.debug('Processing %s %s', event_name, event_data)
224 if event_name in START_EVENTS:
225 self.event_stack.append(event_name)
226 elif event_name in END_EVENTS:
227 self._check_events_are_balanced(event_name, self.reporter)
228 if self.switch_handler.has_key(event_name):
229 self.switch_handler[event_name](self, event_data)
232 logging.debug('Event[%s] is not processable.', event_name)
234 def _check_events_are_balanced(self, event_name, reporter): argument
247 if not start_event or EVENT_PAIRS[start_event] != event_name:
265 event_name))