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.

nsIDNSListener

IID:41466a9f-f027-487d-a96c-af39e629b8d2
Inherits From:nsISupports

This interface is implemented by the following components:


Methods

void onLookupComplete ( nsICancelable request , nsIDNSRecord record , nsresult status )

void onLookupComplete ( nsICancelable request , nsIDNSRecord record , nsresult status )

Called when an asynchronous host lookup completes.

Arguments:
request: the value returned from asyncResolve.
record: the DNS record corresponding to the hostname that was resolved. this parameter is null if there was an error.
status: if the lookup failed, this parameter gives the reason.

References

This interface is passed as an argument to the following methods:

nsIDNSService.asyncResolve

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com