Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

RouteCacheTimer Class Reference

#include <aodv.h>

Inheritance diagram for RouteCacheTimer:

Inheritance graph
[legend]
Collaboration diagram for RouteCacheTimer:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RouteCacheTimer (AODV *a)
void handle (Event *)

Private Attributes

AODVagent
Event intr

Constructor & Destructor Documentation

RouteCacheTimer::RouteCacheTimer AODV a  )  [inline]
 

Definition at line 158 of file aodv.h.

References agent.

00158 : agent(a) {}


Member Function Documentation

void RouteCacheTimer::handle Event  )  [virtual]
 

Implements Handler.

Definition at line 175 of file aodv.cc.

References agent, Scheduler::instance(), intr, AODV::rt_purge(), and Scheduler::schedule().

Referenced by AODV::command().

00175                               {
00176   agent->rt_purge();
00177 #define FREQUENCY 0.5 // sec
00178   Scheduler::instance().schedule(this, &intr, FREQUENCY);
00179 }

Here is the call graph for this function:


Member Data Documentation

AODV* RouteCacheTimer::agent [private]
 

Definition at line 161 of file aodv.h.

Referenced by handle(), and RouteCacheTimer().

Event RouteCacheTimer::intr [private]
 

Definition at line 162 of file aodv.h.

Referenced by handle().


The documentation for this class was generated from the following files:
Generated on Tue Apr 20 13:16:32 2004 for NS2.26SourcesOriginal by doxygen 1.3.3