nsIDNSListener

IID:36413eba-3a2a-444d-b88e-df9b6d306b73
Inherits From:nsISupports

This interface is implemented by the following components:


Methods

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

void onLookupComplete ( nsIDNSRequest 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.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com