WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIUrlClassifierUpdateObserver

IID:bb0528b3-71e2-4795-8732-d60a4476e6df
Inherits From:nsISupports

This interface is implemented by the following components:


Methods

void streamFinished ( ) void updateError ( nsresult error ) void updateSuccess ( PRUint32 requestedTimeout ) void updateUrlRequested ( ACString url , ACString table )

void streamFinished ( )


void updateError ( nsresult error )

Arguments:
error

void updateSuccess ( PRUint32 requestedTimeout )

The update has completed successfully.

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

void updateUrlRequested ( ACString url , ACString table )

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

Arguments:
url: The url that was requested.
table: The table name that this URL's contents will be associated with.

References

This interface is passed as an argument to the following methods:

nsIUrlClassifierDBService.beginUpdate

Reference documentation is generated from Mozilla's source.