Struct xpcom::interfaces::nsIUrlClassifierUpdateObserver [] [src]

#[repr(C)]
pub struct nsIUrlClassifierUpdateObserver { /* fields omitted */ }

interface nsIUrlClassifierUpdateObserver : nsISupports

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

Methods

impl nsIUrlClassifierUpdateObserver
[src]

[src]

Cast this nsIUrlClassifierUpdateObserver to one of its base interfaces.

impl nsIUrlClassifierUpdateObserver
[src]

[src]

/**
   * 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().
   */

void updateUrlRequested (in ACString url, in ACString table);

[src]

/**
   * 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);

[src]

void updateError (in nsresult error);

[src]

/**
   * 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);

Methods from Deref<Target = nsISupports>

[src]

Cast this nsISupports to one of its base interfaces.

[src]

void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);

[src]

[noscript,notxpcom] nsrefcnt AddRef ();

[src]

[noscript,notxpcom] nsrefcnt Release ();

Trait Implementations

impl XpCom for nsIUrlClassifierUpdateObserver
[src]

IID: nsIID = nsID(2678134113, 22550, 19995, [188, 201, 182, 41, 202, 5, 204, 230])

[src]

Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more

impl RefCounted for nsIUrlClassifierUpdateObserver
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIUrlClassifierUpdateObserver
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.