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  

HttpApp Class Reference

#include <http.h>

Inheritance diagram for HttpApp:

Process TclObject HttpCache HttpClient HttpServer HttpInvalCache MediaCache MediaClient HttpInvalServer MediaServer HttpMInvalCache HttpYucInvalServer HttpPercInvalCache List of all members.

Public Member Functions

 HttpApp ()
virtual ~HttpApp ()
virtual int command (int argc, const char *const *argv)
void log (const char *fmt,...)
int id () const
virtual void process_data (int size, AppData *d)
virtual AppDataget_data (int &, AppData *)

Protected Member Functions

int add_cnc (HttpApp *client, TcpApp *agt)
void delete_cnc (HttpApp *client)
TcpApplookup_cnc (HttpApp *client)
void set_pagepool (ClientPagePool *pp)

Protected Attributes

Tcl_HashTabletpa_
int id_
ClientPagePoolpool_
Tcl_Channel log_

Constructor & Destructor Documentation

HttpApp::HttpApp  
 

HttpApp::~HttpApp   [virtual]
 


Member Function Documentation

int HttpApp::add_cnc HttpApp *    client,
TcpApp   agt
[protected]
 

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

Reimplemented from Process.

Reimplemented in HttpYucInvalServer, HttpMInvalCache, HttpPercInvalCache, MediaCache, MediaClient, and MediaServer.

void HttpApp::delete_cnc HttpApp *    client [protected]
 

virtual AppData* HttpApp::get_data int &   ,
AppData  
[inline, virtual]
 

Reimplemented from Process.

Reimplemented in MediaCache, and MediaServer.

int HttpApp::id   const [inline]
 

void HttpApp::log const char *    fmt,
...   
 

TcpApp * HttpApp::lookup_cnc HttpApp *    client [protected]
 

void HttpApp::process_data int    size,
AppData   d
[virtual]
 

Reimplemented from Process.

Reimplemented in HttpMInvalCache, MediaCache, and MediaClient.

void HttpApp::set_pagepool ClientPagePool   pp [inline, protected]
 


Member Data Documentation

int HttpApp::id_ [protected]
 

Tcl_Channel HttpApp::log_ [protected]
 

ClientPagePool* HttpApp::pool_ [protected]
 

Tcl_HashTable* HttpApp::tpa_ [protected]
 


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