class <Http/Server> HttpServer : public HttpApp


Inheritance:


Public Fields

Http/Server instvar clist_
Http/Server instvar fid_
Http/Server instvar id_
Http/Server instvar modseq_
Http/Server instvar modtimes_
Http/Server instvar node_
Http/Server instvar ns_
Http/Server instvar pgtr_
Http/Server instvar stat_
Http/Server instvar TRANSPORT_

Public Methods

Http/Server instproc alloc-connection { client fid }
Http/Server instproc disconnect { client }
Http/Server instproc gen-init-modtime { id }
Http/Server instproc gen-page { pageid }
Http/Server instproc gen-pageinfo { pageid }
Http/Server instproc get-request { client type pageid args }
Http/Server instproc handle-request-GET { pageid args }
Http/Server instproc handle-request-IMS { pageid args }
Http/Server instproc init args
Http/Server instproc modify-page { pageid }
Http/Server instproc schedule-nextmod { time pageid }
Http/Server instproc set-page-generator { pagepool }
Http/Server instproc set-parent-cache { cache }
Http/Server instproc stale-time { pageid modtime }

Inherited from HttpApp:

Public Fields

Http instvar pool_
Http instvar slist_

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 {}
int id()
void log(const char *fmt, ...)
virtual void process_data(int size, AppData* d)
Http instproc set-cachesize { size }
Http instproc stat { name }

Protected Fields

Tcl_Channel log_
ClientPagePool* pool_
Tcl_HashTable* tpa_

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

Http/Server instproc init args
web server codes

Http/Server instvar node_

Http/Server instvar stat_

Http/Server instproc set-page-generator { pagepool }

Http/Server instvar pgtr_

Http/Server instproc gen-init-modtime { id }

Http/Server instvar ns_

Http/Server instproc stale-time { pageid modtime }
XXX This method to calculate staleness time isn't scalable!!! We have to have a garbage collection method to release unused portion of modtimes_ and modseq_. That's not implemented yet because it requires the server to know the oldest version held by all other clients.

Http/Server instvar modseq_

Http/Server instvar modtimes_

Http/Server instproc modify-page { pageid }

Http/Server instvar id_

Http/Server instproc schedule-nextmod { time pageid }

Http/Server instproc gen-page { pageid }

Http/Server instproc gen-pageinfo { pageid }
XXX Assumes page doesn't exists before.

Http/Server instproc disconnect { client }

Http/Server instvar clist_

Http/Server instproc alloc-connection { client fid }

Http/Server instvar TRANSPORT_

Http/Server instvar fid_

Http/Server instproc handle-request-GET { pageid args }

Http/Server instproc handle-request-IMS { pageid args }

Http/Server instproc get-request { client type pageid args }

Http/Server instproc set-parent-cache { cache }


Direct child classes:
Http/Server/epa
Http/Server/Compound
MediaServer
HttpInvalServer

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