dtn::ProphetTableAgeTimer Class Reference

#include <ProphetLists.h>

Inheritance diagram for dtn::ProphetTableAgeTimer:

oasys::Timer oasys::Logger

List of all members.


Detailed Description

Scans the list of ProphetNodes and applies aging algorithm to the pvalues.

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

ProphetTabletable_
u_int period_
double epsilon_

Constructor & Destructor Documentation

dtn::ProphetTableAgeTimer::ProphetTableAgeTimer ( ProphetTable table,
u_int  period,
double  epsilon 
) [inline]

Definition at line 285 of file ProphetLists.h.

References reschedule().


Member Function Documentation

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().


Member Data Documentation

ProphetTable* dtn::ProphetTableAgeTimer::table_ [protected]

Definition at line 292 of file ProphetLists.h.

Referenced by timeout().

u_int dtn::ProphetTableAgeTimer::period_ [protected]

Definition at line 293 of file ProphetLists.h.

Referenced by reschedule().

double dtn::ProphetTableAgeTimer::epsilon_ [protected]

Definition at line 294 of file ProphetLists.h.

Referenced by timeout().


The documentation for this class was generated from the following files:
Generated on Sat Sep 8 08:43:48 2007 for DTN Reference Implementation by  doxygen 1.5.3