CHTIServicePluginInterface Class Reference

class CHTIServicePluginInterface : public CBase

Inherits from

Constructor & Destructor Documentation

~CHTIServicePluginInterface()

~CHTIServicePluginInterface ( ) [inline, virtual]

Wraps ECom object destruction

Member Functions Documentation

Error(TInt, const TDesC8 &)

void Error ( TInt ,
const TDesC8 &
) [inline, virtual]

Parameters

TInt
const TDesC8 &

InitL()

void InitL ( ) [inline, virtual]

This method is called by framework after the plugin was loaded and iDispatcher set.

IsBusy()

TBool IsBusy ( ) [inline, virtual]

Result indicates eiterh plug-in is able to process request (e.g. a plug-in doesn't have an outstanding request to async service). Framework calls this method before calling ProcessMessageL() . If plug-in is busy, request will be dispatched later. Typically, AO's CActive::IsActive() can be used in a overriden implementation. Default implementation returns EFalse.

NewL(const TUid)

CHTIServicePluginInterface * NewL ( const TUid aUID ) [static, inline]

Wraps ECom object instantitation plug-in loaded by its UID

Parameters

const TUid aUID service plugin implementation UDI

NewL(const TDesC8 &)

CHTIServicePluginInterface * NewL ( const TDesC8 & aMatchString ) [static, inline]

Wraps ECom object instantitation default resovler is used

Parameters

const TDesC8 & aMatchString service plugin name

NotifyMemoryChange(TInt)

void NotifyMemoryChange ( TInt ) [inline, virtual]

Empty implementation.

Parameters

TInt

ProcessMessageL(const TDesC8 &, THtiMessagePriority)

void ProcessMessageL ( const TDesC8 & aMessage,
THtiMessagePriority aPriority
) [pure virtual]

Interface service implementation of service, should return ASAP. aMessage contan is service specific.

Parameters

const TDesC8 & aMessage message body destinated to a servive
THtiMessagePriority aPriority message priority

SetDispatcher(MHtiDispatcher *)

void SetDispatcher ( MHtiDispatcher * aDispatcher ) [inline, virtual]

Set dispatcher that used by services to send messages.

Parameters

MHtiDispatcher * aDispatcher

Member Data Documentation

MHtiDispatcher * iDispatcher

MHtiDispatcher * iDispatcher [protected]

Pointer to a dispatcher. It is not availble during construction. If it should be used before starting process messages, InitL() must be overriden.

TUid iDtor_ID_Key

TUid iDtor_ID_Key [private]

Instance identifier key