Home
Implementation
Testing
Add-Ons
> disman API
> Smurf
> JAX
> Schedule-MIB
> Tcl Engine
> Policy Mgmt
Documentation
Download
Mailinglist
People



The Jasmin Project
Getting to Know Jigsaw
How are Documents Handled?

The web page on the internal design of Jigsaw mainly focusses on "resources", "frames" and "filters". The FileResource class represents traditional harddisk files. I concluded that one of these resource classes (perhaps the FileResource class) could be easily identified as representing exactly what is meant by "document" in the MIB description.

I grep'ed through all major classes finding more than 2000 references to Resource and only a hundred to FileResource. Among these hundred were CgiFrame, HTTPFrame and some servlet classes.

Where are the Protocol Engines?

In the class httpdStatistics I found the method updateStatistics(). It seemed logical that my own code had to be invoked in the same cases. So I started my search function again this time grep'ing for updateStatistics.

The httpd class was the only resulting candidate. It notifies every access to a document to the statistics object. Its parameters include the request and the generated response. Both objects are derived from HttpMessage and provide a useful interface that keeps you from actually having to deal with resources and frames.


© 2000 TU Braunschweig, NEC C&C Europe    -    Wed Sep 5 12:55:08 2001