def purge(self):
        while not self.stopped.isSet():
            self.stopped.wait(timeout=defines.EXCHANGE_LIFETIME)
            self._messageLayer.purge()
Clean old transactions
dataset/ETHPy150Open Tanganelli/CoAPthon/coapthon/server/coap.py/CoAP.purge