TDnsQuery Class Reference

class TDnsQuery

DNS query representation. See RFC1035.

Public Member Functions
TDnsQuery()
TDnsQuery(const TDesC8 &, TUint16, TUint16)
TUint16 Class()
const TDesC8 &Data()
voidSetClass(TUint16)
voidSetData(const TDesC8 &)
voidSetType(TUint16)
TUint16 Type()
Protected Attributes
TUint16 iQryClass
TDnsQryData iQryData
TUint16 iQryType

Constructor & Destructor Documentation

TDnsQuery()

TDnsQuery()[inline]

Default constructor

TDnsQuery(const TDesC8 &, TUint16, TUint16)

TDnsQuery(const TDesC8 &aQryDomainName,
TUint16aType,
TUint16aClass =  KDnsRRClassIN
)[inline]

Constructor

Parameters

const TDesC8 & aQryDomainNameDNS query data (buffer)
TUint16 aTypeDNS query code
TUint16 aClass =  KDnsRRClassIN Internet class

Member Functions Documentation

Class()

TUint16 Class()const [inline]

Data()

const TDesC8 &Data()const [inline]

SetClass(TUint16)

voidSetClass(TUint16aClass)[inline]

Sets the value of DNS RR class

Parameters

TUint16 aClassDNS RR class

SetData(const TDesC8 &)

voidSetData(const TDesC8 &aData)[inline]

Sets the value of the DNS query data

Parameters

const TDesC8 & aDataconst reference to the DNS query data

SetType(TUint16)

voidSetType(TUint16aType)[inline]

Sets the value of DNS RR type

Parameters

TUint16 aTypeDNS RR type

Type()

TUint16 Type()const [inline]

Member Data Documentation

TUint16 iQryClass

TUint16 iQryClass[protected]

TDnsQryData iQryData

TDnsQryData iQryData[protected]

TUint16 iQryType

TUint16 iQryType[protected]