CPnPServiceDiscoveryBase Class Reference

class CPnPServiceDiscoveryBase : public CBase

This class acts as an abstract base class which technology specific information need to implement

Inherits from

Constructor & Destructor Documentation

CPnPServiceDiscoveryBase()

IMPORT_C CPnPServiceDiscoveryBase ( ) [protected]

Default constructor

~CPnPServiceDiscoveryBase()

IMPORT_C ~CPnPServiceDiscoveryBase ( ) [virtual]

Default Destructor

Member Functions Documentation

Cancel(const RPnPParameterBundle &)

void Cancel ( const RPnPParameterBundle & aServiceInfo ) [pure virtual]

Issues a cancel request.

Parameters

const RPnPParameterBundle & aServiceInfo

Construct(TUint)

TInt Construct ( TUint aTierId ) [pure virtual]

Second phase constructor

Parameters

TUint aTierId

Describe(const RPnPParameterBundle &)

void Describe ( const RPnPParameterBundle & aServiceInfo ) [pure virtual]

Retrieves the description of the service. The technology specific description information is packed in aServiceInfo parameter.

Parameters

const RPnPParameterBundle & aServiceInfo

Discover(const RPnPParameterBundle &)

void Discover ( const RPnPParameterBundle & aServiceInfo ) [pure virtual]

Issues a discovery request. The technology specific discovery information is packed in aServiceInfo parameter.

Parameters

const RPnPParameterBundle & aServiceInfo Parameter bundle contains the discovery information.

InitiateControlL(const TDesC8 &)

CControlChannelBase * InitiateControlL ( const TDesC8 & aUri ) [pure virtual]

It enables to send and receive messages.

Parameters

const TDesC8 & aUri

NewL(TUint)

CPnPServiceDiscoveryBase * NewL ( TUint aTierId ) [static]

Static factory method

Parameters

TUint aTierId

RegisterNotify(const RPnPParameterBundle &)

void RegisterNotify ( const RPnPParameterBundle & aServiceInfo ) [pure virtual]

Registers for events of service. The technology specific registration information is packed in aServiceInfo.

Parameters

const RPnPParameterBundle & aServiceInfo

Subscribe(const RPnPParameterBundle &)

void Subscribe ( const RPnPParameterBundle & aServiceInfo ) [pure virtual]

Subscribes for event notifications to the service . The technology specific description information is packed in aServiceInfo parameter.

Parameters

const RPnPParameterBundle & aServiceInfo

Member Data Documentation

TUid iEcomDtorID

TUid iEcomDtorID [private]