Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsDNSListener Class Reference
Inheritance diagram for nsDNSListener:
Inheritance graph
[legend]
Collaboration diagram for nsDNSListener:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsDNSListener ()
virtual ~nsDNSListener ()
void onLookupComplete (in nsICancelable aRequest, in nsIDNSRecord aRecord, in nsresult aStatus)
 called when an asynchronous host lookup completes.

Public Attributes

NS_DECL_ISUPPORTS
NS_DECL_NSIDNSLISTENER
nsCString 
mOfficialHostName
PRBool mLookupFinished

Detailed Description

Definition at line 57 of file nsWSAUtils.cpp.


Constructor & Destructor Documentation

Definition at line 283 of file nsWSAUtils.cpp.

{
}

Member Function Documentation

void nsIDNSListener::onLookupComplete ( in nsICancelable  aRequest,
in nsIDNSRecord  aRecord,
in nsresult  aStatus 
) [inherited]

called when an asynchronous host lookup completes.

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

Member Data Documentation

Definition at line 67 of file nsWSAUtils.cpp.

Definition at line 66 of file nsWSAUtils.cpp.


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