def event_handler(self):
if not self._notify_queue:<EOL><INDENT>LOG.error('<STR_LIT>',<EOL>self._service_name)<EOL>return<EOL><DEDENT>LOG.debug('<STR_LIT>', self)<EOL>self.start()<EOL>self.wait()<EOL>
Wait on queue for listening to the events.