Summary
Abstracts away temporary storage of the contents of a stream so that it can be accessed later.
For a list of all members of this type, see
TemporaryStorage Members
.
Declaration Syntax
Public Interface TemporaryStorage
Inherits IDisposable
public interface TemporaryStorage : IDisposable
public __gc __interface TemporaryStorage : public IDisposable
public interface TemporaryStorage implements IDisposable
Remarks
After the web crawler encounters a request, it starts to download the contents of the page for that request. It needs to store those contents somewhere, and an instance of TemporaryStorage provides the 'where'. Once the crawler has retrieved the stream representing the contents of a web page, it determines if the contents are text (like html) or binary (like pictures). It then asks the TemporaryStorage for either a binary or text writer, and writes the contents of the file. The crawler then notifies any interested parties that the request is processed, and it passes to those interested parties the TemporaryStorage. Those parties can get a reader from the storage in order to access those contents.Requirements
Namespace: Eas.WebCrawler.InterfacesAssembly: Eas.WebCrawler.Interfaces (eas.webcrawler.interfaces.dll)