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.

@mozilla.org/url-classifier/streamupdater;1

This component implements the following interfaces:

Properties

ACString nsIUrlClassifierStreamUpdater.updateUrl

The Url to download from. Should be plain ascii text.

Methods

InterfaceMethod
nsIUrlClassifierStreamUpdater PRBool downloadUpdates ( ACString requestBody , nsIUrlClassifierCallback successCallback , nsIUrlClassifierCallback updateErrorCallback , nsIUrlClassifierCallback downloadErrorCallback )
nsIInterfaceRequestor void getInterface ( nsIIDRef uuid , out nsQIResult* result )
nsIBadCertListener2 PRBool notifyCertProblem ( nsIInterfaceRequestor socketInfo , nsISSLStatus status , AUTF8String targetSite )
nsISSLErrorListener PRBool notifySSLError ( nsIInterfaceRequestor socketInfo , PRInt32 error , AUTF8String targetSite )
nsIObserver void observe ( nsISupports subject , char* topic , PRUnichar* data )
nsIStreamListener void onDataAvailable ( nsIRequest request , nsISupports context , nsIInputStream inputStream , PRUint32 offset , PRUint32 count )
nsIRequestObserver void onStartRequest ( nsIRequest request , nsISupports context )
nsIRequestObserver void onStopRequest ( nsIRequest request , nsISupports context , nsresult statusCode )
nsIUrlClassifierUpdateObserver void streamFinished ( )
nsIUrlClassifierUpdateObserver void updateError ( nsresult error )
nsIUrlClassifierUpdateObserver void updateSuccess ( PRUint32 requestedTimeout )
nsIUrlClassifierUpdateObserver void updateUrlRequested ( ACString url , ACString table )

Reference documentation is generated from Mozilla's source.