RServiceResolver Class Reference

class RServiceResolver : public RSubSessionBase

Provides an interface to resolver service names and ports.

Inherits from

Member Functions Documentation

Cancel()

IMPORT_C voidCancel()

Close()

IMPORT_C voidClose()

GetByName(const TDesC &, TPortNum &, TRequestStatus &)

IMPORT_C voidGetByName(const TDesC &aName,
TPortNum &aPort,
TRequestStatus &aStatus
)

Parameters

const TDesC & aName
TPortNum & aPort
TRequestStatus & aStatus

GetByName(const TDesC &, TPortNum &)

IMPORT_C TIntGetByName(const TDesC &aName,
TPortNum &aPort
)

Parameters

const TDesC & aName
TPortNum & aPort

GetByNumber(const TUint, TDes &, TRequestStatus &)

IMPORT_C voidGetByNumber(const TUintaPort,
TDes &aName,
TRequestStatus &aStatus
)

Parameters

const TUint aPort
TDes & aName
TRequestStatus & aStatus

GetByNumber(const TUint, TDes &)

IMPORT_C TIntGetByNumber(const TUintaPort,
TDes &aName
)

Parameters

const TUint aPort
TDes & aName

Open(RSocketServ &, TUint, TUint, TUint)

IMPORT_C TIntOpen(RSocketServ &aSocketServer,
TUintanAddrFamily,
TUintsockType,
TUintaProtocol
)

Parameters

RSocketServ & aSocketServer
TUint anAddrFamily
TUint sockType
TUint aProtocol

RegisterService(const TDesC &, const TUint &, TRequestStatus &)

IMPORT_C voidRegisterService(const TDesC &aName,
const TUint &aPort,
TRequestStatus &aStatus
)

Parameters

const TDesC & aName
const TUint & aPort
TRequestStatus & aStatus

RegisterService(const TDesC &, const TUint &)

IMPORT_C TIntRegisterService(const TDesC &aName,
const TUint &aPort
)

Parameters

const TDesC & aName
const TUint & aPort

RemoveService(const TDesC &, const TUint &, TRequestStatus &)

IMPORT_C voidRemoveService(const TDesC &aName,
const TUint &aPort,
TRequestStatus &aStatus
)

Parameters

const TDesC & aName
const TUint & aPort
TRequestStatus & aStatus

RemoveService(const TDesC &, const TUint &)

IMPORT_C TIntRemoveService(const TDesC &aName,
const TUint &aPort
)

Parameters

const TDesC & aName
const TUint & aPort