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  

HttpMInvalCache Class Reference

#include <http.h>

Inheritance diagram for HttpMInvalCache:

HttpInvalCache HttpCache HttpApp Process TclObject HttpPercInvalCache List of all members.

Public Member Functions

 HttpMInvalCache ()
virtual ~HttpMInvalCache ()
virtual int command (int argc, const char *const *argv)
virtual void process_data (int size, AppData *data)
virtual void timeout (int reason)
void handle_node_failure (int cid)
void invalidate_server (int sid)
void add_inv (const char *name, double mtime)

Protected Member Functions

void send_heartbeat ()
HttpHbDatapack_heartbeat ()
virtual void send_hb_helper (int size, AppData *data)
int recv_inv (HttpHbData *d)
virtual void process_inv (int n, InvalidationRec *ivlist, int cache)
virtual int recv_inv_filter (ClientPage *pg, InvalidationRec *p)
InvalidationRecget_invrec (const char *name)
void add_sstate (int sid, SState *sst)
SStatelookup_sstate (int sid)
void check_sstate (int sid, int cid)
void add_nbr (HttpMInvalCache *c)
NeighborCachelookup_nbr (int id)
void recv_heartbeat (int id)
void recv_leave (HttpLeaveData *d)
void send_leave (HttpLeaveData *d)
void add_update (const char *name, double mtime)
void send_upd (ClientPage *pg)
int recv_upd (HttpUpdateData *d)
virtual void send_upd_helper (int pgsize, AppData *data)
HttpUpdateDatapack_upd (ClientPage *pg)

Static Protected Member Functions

void add_cache (HttpMInvalCache *c)
HttpMInvalCache * map_cache (int id)

Protected Attributes

HBTimer hb_timer_
HttpInvalAgent ** inv_sender_
int num_sender_
int size_sender_
InvalidationRecinvlist_
int num_inv_
Tcl_HashTable sstate_
Tcl_HashTable nbr_
HttpUInvalAgentinv_parent_
double hb_interval_
int enable_upd_
int Ca_
int Cb_
int push_thresh_
int push_high_bound_
int push_low_bound_
HttpInvalAgent ** upd_sender_
int num_updater_
int size_updater_

Static Protected Attributes

HttpMInvalCache ** CacheRepository_ = NULL
int NumCache_ = 0

Constructor & Destructor Documentation

HttpMInvalCache::HttpMInvalCache  
 

HttpMInvalCache::~HttpMInvalCache   [virtual]
 


Member Function Documentation

void HttpMInvalCache::add_cache HttpMInvalCache *    c [static, protected]
 

void HttpMInvalCache::add_inv const char *    name,
double    mtime
 

void HttpMInvalCache::add_nbr HttpMInvalCache *    c [protected]
 

void HttpMInvalCache::add_sstate int    sid,
SState   sst
[protected]
 

void HttpMInvalCache::add_update const char *    name,
double    mtime
[protected]
 

void HttpMInvalCache::check_sstate int    sid,
int    cid
[protected]
 

int HttpMInvalCache::command int    argc,
const char *const *    argv
[virtual]
 

Reimplemented from HttpApp.

Reimplemented in HttpPercInvalCache.

InvalidationRec * HttpMInvalCache::get_invrec const char *    name [protected]
 

void HttpMInvalCache::handle_node_failure int    cid
 

void HttpMInvalCache::invalidate_server int    sid
 

NeighborCache * HttpMInvalCache::lookup_nbr int    id [protected]
 

HttpMInvalCache::SState * HttpMInvalCache::lookup_sstate int    sid [protected]
 

HttpMInvalCache* HttpMInvalCache::map_cache int    id [inline, static, protected]
 

HttpHbData * HttpMInvalCache::pack_heartbeat   [protected]
 

HttpUpdateData * HttpMInvalCache::pack_upd ClientPage   pg [protected]
 

void HttpMInvalCache::process_data int    size,
AppData   data
[virtual]
 

Reimplemented from HttpApp.

void HttpMInvalCache::process_inv int    n,
InvalidationRec   ivlist,
int    cache
[protected, virtual]
 

void HttpMInvalCache::recv_heartbeat int    id [protected]
 

int HttpMInvalCache::recv_inv HttpHbData   d [protected]
 

virtual int HttpMInvalCache::recv_inv_filter ClientPage   pg,
InvalidationRec   p
[inline, protected, virtual]
 

Reimplemented in HttpPercInvalCache.

void HttpMInvalCache::recv_leave HttpLeaveData   d [protected]
 

int HttpMInvalCache::recv_upd HttpUpdateData   d [protected]
 

void HttpMInvalCache::send_hb_helper int    size,
AppData   data
[protected, virtual]
 

void HttpMInvalCache::send_heartbeat   [protected]
 

void HttpMInvalCache::send_leave HttpLeaveData   d [protected]
 

void HttpMInvalCache::send_upd ClientPage   pg [protected]
 

void HttpMInvalCache::send_upd_helper int    pgsize,
AppData   data
[protected, virtual]
 

void HttpMInvalCache::timeout int    reason [virtual]
 


Member Data Documentation

int HttpMInvalCache::Ca_ [protected]
 

HttpMInvalCache ** HttpMInvalCache::CacheRepository_ = NULL [static, protected]
 

int HttpMInvalCache::Cb_ [protected]
 

int HttpMInvalCache::enable_upd_ [protected]
 

double HttpMInvalCache::hb_interval_ [protected]
 

HBTimer HttpMInvalCache::hb_timer_ [protected]
 

HttpUInvalAgent* HttpMInvalCache::inv_parent_ [protected]
 

HttpInvalAgent** HttpMInvalCache::inv_sender_ [protected]
 

InvalidationRec* HttpMInvalCache::invlist_ [protected]
 

Tcl_HashTable HttpMInvalCache::nbr_ [protected]
 

int HttpMInvalCache::num_inv_ [protected]
 

int HttpMInvalCache::num_sender_ [protected]
 

int HttpMInvalCache::num_updater_ [protected]
 

int HttpMInvalCache::NumCache_ = 0 [static, protected]
 

int HttpMInvalCache::push_high_bound_ [protected]
 

int HttpMInvalCache::push_low_bound_ [protected]
 

int HttpMInvalCache::push_thresh_ [protected]
 

int HttpMInvalCache::size_sender_ [protected]
 

int HttpMInvalCache::size_updater_ [protected]
 

Tcl_HashTable HttpMInvalCache::sstate_ [protected]
 

HttpInvalAgent** HttpMInvalCache::upd_sender_ [protected]
 


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