def METHOD_NAME(self, ac_id, msg):
    """Handle incoming messages
    Callback function for IvyMessagesInterface
    :param ac_id: aircraft id
    :type ac_id: int
    :param msg: message
    :type msg: PprzMessage
    """
    # only show messages of the requested class
    if msg.msg_class != self.msg_class:
        return
    if ac_id in self.aircrafts and msg.name in self.aircrafts[ac_id].messages:
        if time.time() - self.aircrafts[ac_id].messages[msg.name].last_seen < 0.2:
            return
    wx.CallAfter(self.gui_update, ac_id, msg)