Logo Search packages:      
Sourcecode: xulrunner-1.9 version File versions

nsIProgressEventSink Interface Reference

import "nsIProgressEventSink.idl";

Inheritance diagram for nsIProgressEventSink:


List of all members.

Detailed Description


This interface is used to asynchronously convey channel status and progress information that is generally not critical to the processing of the channel. The information is intended to be displayed to the user in some meaningful way.

An implementation of this interface can be passed to a channel via the channel's notificationCallbacks attribute. See nsIChannel for more info.

The channel will begin passing notifications to the progress event sink after its asyncOpen method has been called. Notifications will cease once the channel calls its listener's onStopRequest method or once the channel is canceled (via nsIRequest::cancel).

NOTE: This interface is actually not specific to channels and may be used with other implementations of nsIRequest.


Definition at line 65 of file nsIProgressEventSink.idl.

Public Member Functions

void onProgress (in nsIRequest aRequest, in nsISupports aContext, in unsigned long long aProgress, in unsigned long long aProgressMax)
void onStatus (in nsIRequest aRequest, in nsISupports aContext, in nsresult aStatus, in wstring aStatusArg)
 NS_IMETHOD_ (nsrefcnt) Release(void)=0
 NS_IMETHOD_ (nsrefcnt) AddRef(void)=0
NS_IMETHOD QueryInterface (REFNSIID aIID, void **aInstancePtr)=0

The documentation for this interface was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index