def datagramReceived(self, datagram, addr):
        data = datagram.rstrip()

        try:
            category, event = udplog.unserialize(data)
            event['category'] = category
        except (__HOLE__, TypeError):
            log.err()
            return

        self.callback(event)
dataset/ETHPy150Open mochi/udplog/udplog/twisted.py/UDPLogProtocol.datagramReceived