def METHOD_NAME(self, ac_id, msg):
    if msg.name == "PAYLOAD":
        # convert text to binary
        pld = msg.get_field(0).split(",")
        b = []
        for p in pld:
            b.append(int(p))
        # forward over UDP
        self.data['packets'] = self.data['packets'] + 1
        self.data['bytes'] = self.data['bytes'] + len(b)
        self.sock.sendto(bytearray(b), (self.settings.ip, self.settings.port))
        # send to decoder
        self.decoder.add_payload(b)
        # graphical update
        wx.CallAfter(self.update)