CPnPServiceDiscoveryBase Class Reference

class CPnPServiceDiscoveryBase : public CBase

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

Inherits from

  • CPnPServiceDiscoveryBase

Constructor & Destructor Documentation

CPnPServiceDiscoveryBase()

IMPORT_CCPnPServiceDiscoveryBase()[protected]

Default constructor

~CPnPServiceDiscoveryBase()

IMPORT_C~CPnPServiceDiscoveryBase()[virtual]

Default Destructor

Member Functions Documentation

Cancel(const RPnPParameterBundle &)

voidCancel(const RPnPParameterBundle &aServiceInfo)[pure virtual]

Issues a cancel request.

Parameters

const RPnPParameterBundle & aServiceInfo

Construct(TUint)

TInt Construct(TUintaTierId)[pure virtual]

Second phase constructor

Parameters

TUint aTierId

Describe(const RPnPParameterBundle &)

voidDescribe(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 &)

voidDiscover(const RPnPParameterBundle &aServiceInfo)[pure virtual]

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

Parameters

const RPnPParameterBundle & aServiceInfoParameter 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(TUintaTierId)[static]

Static factory method

Parameters

TUint aTierId

RegisterNotify(const RPnPParameterBundle &)

voidRegisterNotify(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 &)

voidSubscribe(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]