class <Http/Cache/Media> MediaCache : public HttpCache


Inheritance:


Public Fields

Http/Cache/Media instvar c_mmapp_
Http/Cache/Media instvar c_tbt_
Http/Cache/Media instvar firstreq_
Http/Cache/Media instvar MEDIA_APP_
Http/Cache/Media instvar MEDIA_TRANSPORT_
Http/Cache/Media instvar MediaLog_
Http/Cache/Media instvar node_
Http/Cache/Media instvar ns_
Http/Cache/Media instvar pool_
Http/Cache/Media instvar pref_
Http/Cache/Media instvar s_mmapp_

Public Methods

Http/Cache/Media instproc alloc-mcon { client pageid dst_agent }
Http/Cache/Media instproc answer-request-GET { cl pageid args }
Http/Cache/Media instproc create-pagepool {}
Http/Cache/Media instproc finish-stream { app }
Http/Cache/Media instproc get-response-GET { server pageid args }
Http/Cache/Media instproc media-connect { server pageid }
Http/Cache/Media instproc media-disconnect { host pageid args }
Http/Cache/Media instproc medialog-on {}
Http/Cache/Media instproc pref-segment {conid pageid layer args}
Http/Cache/Media instproc set-repl-style { style }
Http/Cache/Media instproc start-prefetch { server pageid conid }

Inherited from HttpCache:

Public Fields

Http/Cache instvar clist_
Http/Cache instvar creq_
Http/Cache instvar fid_
Http/Cache instvar id_
Http/Cache instvar parent_
Http/Cache instvar pending_
Http/Cache instvar slist_
Http/Cache instvar stat_
Http/Cache instvar TRANSPORT_

Public Methods

Http/Cache instproc alloc-connection { client fid }
Http/Cache instproc answer-pending-requests { pageid args }
Http/Cache instproc cache-hit { cl type pageid }
Http/Cache instproc cache-miss { cl type pageid }
Http/Cache instproc connect { server }
Http/Cache instproc disconnect { http }
Http/Cache instproc disconnect-client { client }
Http/Cache instproc disconnect-server { server }
Http/Cache instproc get-request { cl type pageid args }
Http/Cache instproc init args
Http/Cache instproc is-consistent { cl type pageid }
Http/Cache instproc refetch args
Http/Cache instproc refetch-pending { cl type pageid }
Http/Cache instproc send-request { server type pageid size args }
Http/Cache instproc set-parent { server }

Inherited from HttpApp:

Public Methods

Http instproc addr {}
virtual int command(int argc, const char*const* argv)
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_
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/Cache/Media instproc create-pagepool {}

Http/Cache/Media instproc start-prefetch { server pageid conid }

Http/Cache/Media instvar pref_

Http/Cache/Media instvar ns_

Http/Cache/Media instvar MEDIA_APP_

Http/Cache/Media instproc media-connect { server pageid }

Http/Cache/Media instvar s_mmapp_

Http/Cache/Media instvar node_

Http/Cache/Media instvar MEDIA_TRANSPORT_

Http/Cache/Media instproc alloc-mcon { client pageid dst_agent }

Http/Cache/Media instvar c_mmapp_

Http/Cache/Media instvar MediaLog_

Http/Cache/Media instproc medialog-on {}
Turn on logging of media application

Http/Cache/Media instproc media-disconnect { host pageid args }

Http/Cache/Media instvar c_tbt_

Http/Cache/Media instvar pool_

Http/Cache/Media instvar firstreq_

Http/Cache/Media instproc finish-stream { app }
Tell the client that a stream has been completed. Assume that there is an open connection between server and client

Http/Cache/Media instproc get-response-GET { server pageid args }

Http/Cache/Media instproc answer-request-GET { cl pageid args }
XXX If it's a media page, change page size and send back a small response. This response is intended to establish a RAP connection from client to cache.

Http/Cache/Media instproc pref-segment {conid pageid layer args}
$args is a list of segments, each of which is a list of two elements: {start end}

Http/Cache/Media instproc set-repl-style { style }


This class has no child classes.

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