Logo Search packages:      
Sourcecode: xulrunner version File versions

nsIChannelEventSink Interface Reference

import "nsIChannelEventSink.idl";

Inheritance diagram for nsIChannelEventSink:

nsISupports nsObjectLoadingContent nsPACMan nsSyncLoader nsXFormsInstanceElement nsXFormsMessageElement nsXFormsSubmissionElement nsXULDocument

List of all members.


Detailed Description

Implement this interface to receive control over various channel events. Channels will try to get this interface from a channel's notificationCallbacks or, if not available there, from the loadGroup's notificationCallbacks.

These methods are called before onStartRequest, and should be handled SYNCHRONOUSLY.

Definition at line 56 of file nsIChannelEventSink.idl.


Public Member Functions

void onChannelRedirect (in nsIChannel oldChannel, in nsIChannel newChannel, in unsigned long flags)
Methods
 NS_IMETHOD_ (nsrefcnt) Release(void)=0
 NS_IMETHOD_ (nsrefcnt) AddRef(void)=0
NS_IMETHOD QueryInterface (REFNSIID aIID, void **aInstancePtr)=0

Public Attributes

const unsigned long REDIRECT_INTERNAL = 1 << 2
const unsigned long REDIRECT_PERMANENT = 1 << 1
const unsigned long REDIRECT_TEMPORARY = 1 << 0

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

Generated by  Doxygen 1.6.0   Back to index