Back to index
|void||addDependency (in nsIFile aFile)|
|Add a file dependency of the FastLoad file (e.g., a .jar file) to the set of dependencies that trigger regeneration if any dependency has a last-modified-time greater than the FastLoad file's mtime. |
|void||startMuxedDocument (in nsISupports aURI, in string aURISpec)|
|Multiplexed document control methods. |
|nsISupports||selectMuxedDocument (in nsISupports aURI)|
|void||endMuxedDocument (in nsISupports aURI)|
|boolean||hasMuxedDocument (in string aURISpec)|
|Return true if aURISpec identifies a muxed document in the FastLoad file, false otherwise. |
|Get and set the recorded checksum value from the FastLoad file header. |
Add a file dependency of the FastLoad file (e.g., a .jar file) to the set of dependencies that trigger regeneration if any dependency has a last-modified-time greater than the FastLoad file's mtime.
Return true if aURISpec identifies a muxed document in the FastLoad file, false otherwise.
|void nsIFastLoadFileControl::startMuxedDocument||(||in nsISupports||aURI,|
Multiplexed document control methods.
A FastLoad file may contain multiple interleaved documents identified by a URI specifier string, and indexed for fast multiplexor select by an opaque URI object key. You StartMuxedDocument when initiating a document load, then Select before every batch of calls to (de)serialize document data, and End when the load completes.
Document multiplexing is necessary to support incremental FastLoad development in a non-blocking i/o architecture such as Mozilla, where some (but not all, at first, or for a while during development) of the results of parsing and compiling various inputs can be multiplexed to or from a FastLoad file.
Note: Select returns the previously selected URI object in case the caller is synchronously selecting and writing data to the FastLoad file, so the caller can reselect the previous URI and return to code the continues to write FastLoad data for the previous URI, unaware of the nested select/write/reselect.