code: def handle_message(self, msg):
          
          if msg.msg_id in self.messagesAllowed:
              super(LimitedReporter, self).handle_message(msg)
docs: Manage message of different type and in the context of path.