class <Http> HttpApp : public Process


Inheritance:


Public Fields

Http instvar fid_
Http instvar id_
Http instvar node_
Http instvar ns_
Http instvar pool_
Http instvar slist_
Http instvar stat_
Http instvar TRANSPORT_

Public Methods

Http instproc addr {}
virtual int command(int argc, const char*const* argv)
Http instproc connect { server }
Http instproc create-pagepool {}
Http instproc get-cachesize {}
Http instproc get-hbsize {}
Http instproc get-imssize {}
Http instproc get-invsize {}
Http instproc get-joinsize {}
Http instproc get-mpusize {}
Http instproc get-ntfsize {}
Http instproc get-pfsize {}
Http instproc get-refsize {}
Http instproc get-reqsize {}
virtual AppData* get_data(int&, AppData*)
Http instproc getfid {}
HttpApp()
int id()
Http instproc init { ns node }
void log(const char *fmt, ...)
virtual void process_data(int size, AppData* d)
Http instproc set-cachesize { size }
Http instproc stat { name }
virtual ~HttpApp()

Protected Fields

int id_
Node id
Tcl_Channel log_
Log file descriptor
ClientPagePool* pool_
Page repository
Tcl_HashTable* tpa_
TcpApp hash table

Protected Methods

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

Inherited from Process:

Public Methods

virtual void send_data(int size, AppData* data = 0)
inline Process*& target()

Protected Fields

Process* target_

Documentation

HttpApp()

virtual ~HttpApp()

virtual int command(int argc, const char*const* argv)

void log(const char *fmt, ...)

int id()

virtual void process_data(int size, AppData* d)

virtual AppData* get_data(int&, AppData*)

int add_cnc(HttpApp *client, TcpApp *agt)

void delete_cnc(HttpApp *client)

TcpApp* lookup_cnc(HttpApp *client)

void set_pagepool(ClientPagePool* pp)

Tcl_HashTable* tpa_
TcpApp hash table

int id_
Node id

ClientPagePool* pool_
Page repository

Tcl_Channel log_
Log file descriptor

Http instproc set-cachesize { size }

Http instvar pool_

Http instproc get-cachesize {}

Http instproc init { ns node }

Http instvar ns_

Http instvar node_

Http instvar id_

Http instproc create-pagepool {}

Http instproc addr {}

Http instproc getfid {}

Http instvar fid_

Http instproc get-mpusize {}

Http instproc get-ntfsize {}

Http instproc get-pfsize {}

Http instproc get-hbsize {}

Http instproc get-imssize {}

Http instproc get-invsize {}

Http instproc get-reqsize {}
Generate request packet size. Should be constant because it's small

Http instproc get-refsize {}

Http instproc get-joinsize {}

Http instproc connect { server }
At startup, connect to a server, the server may be a cache

Http instvar TRANSPORT_

Http instvar slist_

Http instproc stat { name }

Http instvar stat_


Direct child classes:
HttpServer
HttpClient
HttpCache

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

Adapted for the NS documentation page

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de