dtn::ProphetAckAgeTimer Class Reference

#include <ProphetLists.h>

Inheritance diagram for dtn::ProphetAckAgeTimer:

oasys::Timer oasys::Logger

List of all members.


Detailed Description

Action to expire out aged ProphetAcks from ProphetAckList.

Definition at line 649 of file ProphetLists.h.


Public Member Functions

 ProphetAckAgeTimer (ProphetAckList *list, u_int period)
void timeout (const struct timeval &now)

Protected Member Functions

void reschedule ()

Protected Attributes

ProphetAckListlist_
u_int period_

Constructor & Destructor Documentation

dtn::ProphetAckAgeTimer::ProphetAckAgeTimer ( ProphetAckList list,
u_int  period 
) [inline]

Definition at line 654 of file ProphetLists.h.

References reschedule().


Member Function Documentation

void dtn::ProphetAckAgeTimer::timeout ( const struct timeval &  now  )  [virtual]

Implements oasys::Timer.

Definition at line 182 of file ProphetLists.cc.

References dtn::ProphetAckList::expire(), list_, log_debug, and reschedule().

void dtn::ProphetAckAgeTimer::reschedule (  )  [protected]

Definition at line 173 of file ProphetLists.cc.

References dtnsim::gettimeofday(), period_, and oasys::Timer::schedule_at().

Referenced by ProphetAckAgeTimer(), and timeout().


Member Data Documentation

ProphetAckList* dtn::ProphetAckAgeTimer::list_ [protected]

Definition at line 661 of file ProphetLists.h.

Referenced by timeout().

u_int dtn::ProphetAckAgeTimer::period_ [protected]

Definition at line 662 of file ProphetLists.h.

Referenced by reschedule().


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