42.5.0.0.4 OTcl interfaces

Following is a list of its OTcl methods (in addition to those inherited from https). This is not a complete list. More details can be found in ns/tcl/webcache/https-agent.tcl.

rX send-request server type pageid args & send a request of page $pageid and type $type to $server. The only request type allowed for a client is GET. $args has a format identical to that of $attributes described in https::enter-page.

start-session cache server & start sending requests of a random page to $server via $cache.

start cache server & before sending requests, populate $cache with all pages in the client's PagePool. This method is useful when assuming infinite-sized caches and we want to observe behaviors of cache consistency algorithms in steady state.

set-page-generator pagepool & attach a PagePool to generate random page IDs.

set-interval-generator ranvar & attach a random variable to generate random request intervals.



Tom Henderson 2014-12-17