Implemented by
The nsIUrlClassifierUpdateObserver interface is implemented by clients streaming updates to the url-classifier (usually nsUrlClassifierStreamUpdater.
[scriptable, uuid(bbb33c65-e783-476c-8db0-6ddb91826c07)]
interface nsIUrlClassifierUpdateObserver : nsISupports
Methods
The server has requested that the client get a new client key for MAC requests.
void
rekeyRequested()
A stream update has completed.
@param status The state of the update process.
@param delay The amount of time the updater should wait to fetch the
next URL in ms.
void
streamFinished(in nsresult status, in unsigned long delay)
void
updateError(in nsresult error)
The update has completed successfully.
@param requestedTimeout The number of seconds that the caller should
wait before trying to update again.
void
updateSuccess(in unsigned long requestedTimeout)
The update requested a new URL whose contents should be downloaded
and sent to the classifier as a new stream.
@param url The url that was requested.
@param table The table name that this URL's contents will be associated
with. This should be passed back to beginStream().
@param serverMAC The server-supplied MAC of the data at this URL. This
should be passed back to beginStream().
void
updateUrlRequested(in ACString url, in ACString table, in ACString serverMAC)
Compare to: