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

MobiHandler Class Reference

#include <cache_stats.h>

Inheritance diagram for MobiHandler:

Inheritance graph
[legend]
Collaboration diagram for MobiHandler:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MobiHandler (RouteCache *C)
void start ()
void handle (Event *)

Private Attributes

double interval
Event intr
RouteCachecache

Constructor & Destructor Documentation

MobiHandler::MobiHandler RouteCache C  )  [inline]
 

Definition at line 113 of file cache_stats.h.

References cache, and interval.

00113                                    {
00114                 interval = 1.0;
00115                 cache = C;
00116         }


Member Function Documentation

void MobiHandler::handle Event  )  [virtual]
 

Implements Handler.

void MobiHandler::start void   )  [inline]
 

Definition at line 117 of file cache_stats.h.

References Scheduler::instance(), intr, and Scheduler::schedule().

00117                      {
00118                 Scheduler::instance().schedule(this, &intr, 1.0);
00119         }

Here is the call graph for this function:


Member Data Documentation

RouteCache* MobiHandler::cache [private]
 

Definition at line 124 of file cache_stats.h.

Referenced by MobiHandler().

double MobiHandler::interval [private]
 

Definition at line 122 of file cache_stats.h.

Referenced by MobiHandler().

Event MobiHandler::intr [private]
 

Definition at line 123 of file cache_stats.h.

Referenced by start().


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