nsIUrlClassifierUpdateObserver

The nsIUrlClassifierUpdateObserver interface is implemented by
clients streaming updates to the url-classifier (usually
nsUrlClassifierStreamUpdater.

Methods

updateUrlRequested(url, table)

The update requested a new URL whose contents should be downloaded
and sent to the classifier as a new stream.

Parameters

url The url that was requested.
table The table name that this URL's contents will be associated with. This should be passed back to beginStream().

streamFinished(status, delay)

A stream update has completed.

Parameters

status The state of the update process.
delay The amount of time the updater should wait to fetch the next URL in ms.

updateError(error)

updateSuccess(requestedTimeout)

The update has completed successfully.

Parameters

requestedTimeout The number of seconds that the caller should wait before trying to update again. /