ns2 Network Simulator      C++ Class Hierarchy of version ns-snapshot-20040722
Home |  Source Code |  Manual |  FAQ |  Mailing List Archive |  Search |  Download | 

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

NeighborCache Class Reference

#include <http-aux.h>

List of all members.

Public Member Functions

 NeighborCache (HttpMInvalCache *c, double t, LivenessTimer *timer)
 ~NeighborCache ()
double time ()
void reset_timer (double time)
int is_down ()
void down ()
void up ()
int num () const
HttpMInvalCachecache ()
void pack_leave (HttpLeaveData &)
int is_server_down (int sid)
void server_down (int sid)
void server_up (int sid)
void invalidate (HttpMInvalCache *c)
void add_server (int sid)

Protected Attributes

double time_
int down_
ServerList sl_

Constructor & Destructor Documentation

NeighborCache::NeighborCache HttpMInvalCache   c,
double    t,
LivenessTimer   timer


Member Function Documentation

void NeighborCache::add_server int    sid

HttpMInvalCache* NeighborCache::cache   [inline]

void NeighborCache::down   [inline]

void NeighborCache::invalidate HttpMInvalCache   c

int NeighborCache::is_down   [inline]

int NeighborCache::is_server_down int    sid

int NeighborCache::num   const [inline]

void NeighborCache::pack_leave HttpLeaveData  

void NeighborCache::reset_timer double    time [inline]

void NeighborCache::server_down int    sid

void NeighborCache::server_up int    sid

double NeighborCache::time   [inline]

void NeighborCache::up   [inline]

Member Data Documentation

HttpMInvalCache* NeighborCache::cache_ [protected]

int NeighborCache::down_ [protected]

ServerList NeighborCache::sl_ [protected]

double NeighborCache::time_ [protected]

LivenessTimer* NeighborCache::timer_ [protected]

The documentation for this class was generated from the following files:
This document is generated by doxygen.