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  

ClientPage Class Reference

#include <pagepool.h>

Inheritance diagram for ClientPage:

Page MediaPage List of all members.

Public Member Functions

 ClientPage (const char *n, int s, double mt, double et, double a)
virtual ~ClientPage ()
virtual WebPageType type () const
virtual void print_info (char *buf)
void name (char *buf)
doublemtime ()
doubleetime ()
doubleage ()
HttpAppserver ()
void validate (double mtime)
void invalidate (double mtime)
int is_valid () const
int is_header_valid () const
void set_valid_hdr ()
void set_uncacheable ()
int is_uncacheable ()
void set_unread ()
void set_read ()
int is_unread ()
int is_server_down ()
void server_down ()
int & counter ()
int count_inval (int a, int th)
int count_request (int b, int th)
void set_mpush (double time)
void clear_mpush ()
int is_mpush ()
double mpush_time ()

Static Public Member Functions

void split_name (const char *name, PageID &id)
void print_name (char *name, PageID &id)

Static Public Attributes

int PUSHALL_ = 0

Protected Member Functions

void set_page_state (int state)
void clear_page_state (int state)
void set_page_action (int action)
void clear_page_action (int action)

Protected Attributes

double age_
double mtime_
double etime_
int status_
int counter_
double mpushTime_

Constructor & Destructor Documentation

ClientPage::ClientPage const char *    n,
int    s,
double    mt,
double    et,
double    a

virtual ClientPage::~ClientPage   [inline, virtual]

Member Function Documentation

double& ClientPage::age   [inline]

void ClientPage::clear_mpush   [inline]

void ClientPage::clear_page_action int    action [inline, protected]

void ClientPage::clear_page_state int    state [inline, protected]

int ClientPage::count_inval int    a,
int    th

int ClientPage::count_request int    b,
int    th

int& ClientPage::counter   [inline]

double& ClientPage::etime   [inline]

void ClientPage::invalidate double    mtime [inline]

int ClientPage::is_header_valid   const [inline]

int ClientPage::is_mpush   [inline]

int ClientPage::is_server_down   [inline]

int ClientPage::is_uncacheable   [inline]

int ClientPage::is_unread   [inline]

int ClientPage::is_valid   const [inline]

double ClientPage::mpush_time   [inline]

double& ClientPage::mtime   [inline]

void ClientPage::name char *    buf

void ClientPage::print_info char *    buf [virtual]

Reimplemented in MediaPage.

void ClientPage::print_name char *    name,
PageID   id

HttpApp* ClientPage::server   [inline]

void ClientPage::server_down   [inline]

void ClientPage::set_mpush double    time [inline]

void ClientPage::set_page_action int    action [inline, protected]

void ClientPage::set_page_state int    state [inline, protected]

void ClientPage::set_read   [inline]

void ClientPage::set_uncacheable   [inline]

void ClientPage::set_unread   [inline]

void ClientPage::set_valid_hdr   [inline]

void ClientPage::split_name const char *    name,
PageID   id

virtual WebPageType ClientPage::type   const [inline, virtual]

Implements Page.

Reimplemented in MediaPage.

void ClientPage::validate double    mtime [inline]

Member Data Documentation

double ClientPage::age_ [protected]

int ClientPage::counter_ [protected]

double ClientPage::etime_ [protected]

double ClientPage::mpushTime_ [protected]

double ClientPage::mtime_ [protected]

int ClientPage::PUSHALL_ = 0 [static]

HttpApp* ClientPage::server_ [protected]

int ClientPage::status_ [protected]

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