#include <ProphetLists.h>
Definition at line 281 of file ProphetLists.h.
Public Member Functions | |
ProphetTableAgeTimer (ProphetTable *table, u_int period, double epsilon) | |
void | timeout (const struct timeval &now) |
Protected Member Functions | |
void | reschedule () |
Protected Attributes | |
ProphetTable * | table_ |
u_int | period_ |
double | epsilon_ |
dtn::ProphetTableAgeTimer::ProphetTableAgeTimer | ( | ProphetTable * | table, | |
u_int | period, | |||
double | epsilon | |||
) | [inline] |
void dtn::ProphetTableAgeTimer::timeout | ( | const struct timeval & | now | ) | [virtual] |
Implements oasys::Timer.
Definition at line 157 of file ProphetLists.cc.
References dtn::ProphetTable::begin(), dtn::ProphetTable::end(), epsilon_, ExamineDump::l, dtn::ProphetTable::lock(), log_debug, reschedule(), table_, and dtn::ProphetTable::truncate().
void dtn::ProphetTableAgeTimer::reschedule | ( | ) | [protected] |
Definition at line 148 of file ProphetLists.cc.
References dtnsim::gettimeofday(), period_, and oasys::Timer::schedule_at().
Referenced by ProphetTableAgeTimer(), and timeout().
ProphetTable* dtn::ProphetTableAgeTimer::table_ [protected] |
u_int dtn::ProphetTableAgeTimer::period_ [protected] |
double dtn::ProphetTableAgeTimer::epsilon_ [protected] |