Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIProtocolProxyCallback Interface Reference

This interface servers as a closure for nsIProtocolProxyService's asyncResolve method. More...

import "nsIProtocolProxyCallback.idl";

Inheritance diagram for nsIProtocolProxyCallback:
Inheritance graph
[legend]
Collaboration diagram for nsIProtocolProxyCallback:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void onProxyAvailable (in nsICancelable aRequest, in nsIURI aURI, in nsIProxyInfo aProxyInfo, in nsresult aStatus)
 This method is called when proxy info is available or when an error in the proxy resolution occurs.

Detailed Description

This interface servers as a closure for nsIProtocolProxyService's asyncResolve method.

UNDER_REVIEW

Definition at line 52 of file nsIProtocolProxyCallback.idl.


Member Function Documentation

This method is called when proxy info is available or when an error in the proxy resolution occurs.

Parameters:
aRequestThe value returned from asyncResolve.
aURIThe URI passed to asyncResolve.
aProxyInfoThe resulting proxy info or null if there is no associated proxy info for aURI. As with the result of nsIProtocolProxyService's resolve method, a null result implies that a direct connection should be used.
aStatusThe status of the callback. This is a failure code if the request could not be satisfied, in which case the value of aStatus indicates the reason for the failure.

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