Timer for removing MPR selector tuples: OLSR_mprsel_tuple. More...
#include <OLSR.h>
Public Member Functions | |
OLSR_MprSelTupleTimer (OLSR *agent, OLSR_mprsel_tuple *tuple) | |
OLSR_MprSelTupleTimer (OLSR *agent, OLSR_mprsel_tuple *tuple) | |
Protected Member Functions | |
virtual void | expire (Event *e) |
Removes tuple_ if expired. Else the timer is rescheduled to expire at tuple_->time(). | |
virtual void | expire (Event *e) |
Protected Attributes | |
OLSR * | agent_ |
OLSR agent which created the timer. | |
OLSR_mprsel_tuple * | tuple_ |
OLSR_mprsel_tuple which must be removed. |
Timer for removing MPR selector tuples: OLSR_mprsel_tuple.
void OLSR_MprSelTupleTimer::expire | ( | Event * | e | ) | [protected, virtual] |
Removes tuple_ if expired. Else the timer is rescheduled to expire at tuple_->time().
The task of actually removing the tuple is left to the OLSR agent.
e | The event which has expired. |
Implements TimerHandler.