TDnsQuery Class Reference

class TDnsQuery

DNS query representation. See RFC1035.

Constructor & Destructor Documentation

TDnsQuery()

TDnsQuery ( ) [inline]

Default constructor

TDnsQuery(const TDesC8 &, TUint16, TUint16)

TDnsQuery ( const TDesC8 & aQryDomainName,
TUint16 aType,
TUint16 aClass =  KDnsRRClassIN
) [inline]

Constructor

Parameters

const TDesC8 & aQryDomainName DNS query data (buffer)
TUint16 aType DNS query code
TUint16 aClass =  KDnsRRClassIN Internet class

Member Functions Documentation

Class()

TUint16 Class ( ) const [inline]

Data()

const TDesC8 & Data ( ) const [inline]

SetClass(TUint16)

void SetClass ( TUint16 aClass ) [inline]

Sets the value of DNS RR class

Parameters

TUint16 aClass DNS RR class

SetData(const TDesC8 &)

void SetData ( const TDesC8 & aData ) [inline]

Sets the value of the DNS query data

Parameters

const TDesC8 & aData const reference to the DNS query data

SetType(TUint16)

void SetType ( TUint16 aType ) [inline]

Sets the value of DNS RR type

Parameters

TUint16 aType DNS 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]