Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QDnsLookupReply Class Reference

#include <qdnslookup_p.h>

+ Collaboration diagram for QDnsLookupReply:

Public Member Functions

void setError (QDnsLookup::Error err, QString &&msg)
 
void makeResolverSystemError (int code=-1)
 
void makeTimeoutError ()
 
void makeDnsRcodeError (quint8 rcode)
 
void makeInvalidReplyError (QString &&msg=QString())
 

Public Attributes

QDnsLookup::Error error = QDnsLookup::NoError
 
QString errorString
 
QList< QDnsDomainNameRecordcanonicalNameRecords
 
QList< QDnsHostAddressRecordhostAddressRecords
 
QList< QDnsMailExchangeRecordmailExchangeRecords
 
QList< QDnsDomainNameRecordnameServerRecords
 
QList< QDnsDomainNameRecordpointerRecords
 
QList< QDnsServiceRecordserviceRecords
 
QList< QDnsTextRecordtextRecords
 

Detailed Description

Definition at line 42 of file qdnslookup_p.h.

Member Function Documentation

◆ makeDnsRcodeError()

void QDnsLookupReply::makeDnsRcodeError ( quint8 rcode)
inline

Definition at line 75 of file qdnslookup_p.h.

References QString::arg(), error, errorString, QDnsLookup::InvalidReplyError, QDnsLookup::InvalidRequestError, QDnsLookup::NotFoundError, Q_ASSERT, QDnsLookup::ServerFailureError, and QDnsLookup::ServerRefusedError.

+ Here is the call graph for this function:

◆ makeInvalidReplyError()

void QDnsLookupReply::makeInvalidReplyError ( QString && msg = QString())
inline

Definition at line 104 of file qdnslookup_p.h.

References QDnsLookup::InvalidReplyError, and setError().

+ Here is the call graph for this function:

◆ makeResolverSystemError()

void QDnsLookupReply::makeResolverSystemError ( int code = -1)
inline

Definition at line 63 of file qdnslookup_p.h.

References Q_ASSERT, qt_error_string(), QDnsLookup::ResolverError, and setError().

+ Here is the call graph for this function:

◆ makeTimeoutError()

void QDnsLookupReply::makeTimeoutError ( )
inline

Definition at line 69 of file qdnslookup_p.h.

References Q_ASSERT, setError(), and QDnsLookup::TimeoutError.

+ Here is the call graph for this function:

◆ setError()

void QDnsLookupReply::setError ( QDnsLookup::Error err,
QString && msg )
inline

Definition at line 57 of file qdnslookup_p.h.

References error, and errorString.

Referenced by makeInvalidReplyError(), makeResolverSystemError(), and makeTimeoutError().

+ Here is the caller graph for this function:

Member Data Documentation

◆ canonicalNameRecords

QList<QDnsDomainNameRecord> QDnsLookupReply::canonicalNameRecords

Definition at line 48 of file qdnslookup_p.h.

◆ error

QDnsLookup::Error QDnsLookupReply::error = QDnsLookup::NoError

Definition at line 45 of file qdnslookup_p.h.

Referenced by makeDnsRcodeError(), and setError().

◆ errorString

QString QDnsLookupReply::errorString

Definition at line 46 of file qdnslookup_p.h.

Referenced by makeDnsRcodeError(), and setError().

◆ hostAddressRecords

QList<QDnsHostAddressRecord> QDnsLookupReply::hostAddressRecords

Definition at line 49 of file qdnslookup_p.h.

◆ mailExchangeRecords

QList<QDnsMailExchangeRecord> QDnsLookupReply::mailExchangeRecords

Definition at line 50 of file qdnslookup_p.h.

◆ nameServerRecords

QList<QDnsDomainNameRecord> QDnsLookupReply::nameServerRecords

Definition at line 51 of file qdnslookup_p.h.

◆ pointerRecords

QList<QDnsDomainNameRecord> QDnsLookupReply::pointerRecords

Definition at line 52 of file qdnslookup_p.h.

◆ serviceRecords

QList<QDnsServiceRecord> QDnsLookupReply::serviceRecords

Definition at line 53 of file qdnslookup_p.h.

◆ textRecords

QList<QDnsTextRecord> QDnsLookupReply::textRecords

Definition at line 54 of file qdnslookup_p.h.


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