def receive_empty(self, empty, transaction):
        """

        :type empty: Message
        :param empty:
        :type transaction: Transaction
        :param transaction:
        :rtype : Transaction
        """
        if empty.type == defines.Types["RST"]:
            host, port = transaction.request.source
            key_token = hash(str(host) + str(port) + str(transaction.request.token))
            logger.info("Remove Subscriber")
            try:
                del self._relations[key_token]
            except __HOLE__:
                pass
            transaction.completed = True
        return transaction
dataset/ETHPy150Open Tanganelli/CoAPthon/coapthon/layers/observelayer.py/ObserveLayer.receive_empty