CHostResolvProvdBase Class Reference

class CHostResolvProvdBase : public CResolverProvdBase

Provides Host name resolver service

Inherits from

Member Functions Documentation

GetByAddress(TNameRecord &)

voidGetByAddress(TNameRecord &aName)[pure virtual]

Gets the Host name by address

Parameters

TNameRecord & aName

GetByName(TNameRecord &)

voidGetByName(TNameRecord &aName)[pure virtual]

Get the Host name by name

Parameters

TNameRecord & aName

GetHostName(TDes &)

voidGetHostName(TDes &aNameBuf)[pure virtual]

Gets the Host name

Parameters

TDes & aNameBuf

Query(const TDesC8 &, TDes8 &, TInt)

IMPORT_C voidQuery(const TDesC8 &aQryBuf,
TDes8 &aResBuf,
TIntaCounter
)[virtual]
Make a query to the protocol.
Note:

for aCounter > 0 data in aQryBuf are not supposed to be used.

Parameters

const TDesC8 & aQryBufdescriptor representing query data.
TDes8 & aResBufdescriptor representing query response data.
TInt aCounterquery sequential number counter. From the client's point of view it will be 0 for "Query" call and increased by 1 for each "QueryGetNext" call.

SetHostName(TDes &)

voidSetHostName(TDes &aNameBuf)[pure virtual]

Sets the Host name

Parameters

TDes & aNameBuf

SetOption(TUint, TUint, const TDesC8 &)

IMPORT_C TIntSetOption(TUintlevel,
TUintname,
const TDesC8 &anOption
)[virtual]

Default Set Option for Host Resolver

Sets options for the protocol on behalf of socket server clients

Parameters

TUint level
TUint name
const TDesC8 & anOption