CHTIServicePluginInterface Class Reference

class CHTIServicePluginInterface : public CBase

Inherits from

  • CHTIServicePluginInterface

Constructor & Destructor Documentation

~CHTIServicePluginInterface()

~CHTIServicePluginInterface()[inline, virtual]

Wraps ECom object destruction

Member Functions Documentation

Error(TInt, const TDesC8 &)

voidError(TInt,
const TDesC8 &
)[inline, virtual]

Parameters

TInt
const TDesC8 &

InitL()

voidInitL()[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 TUidaUID)[static, inline]

Wraps ECom object instantitation plug-in loaded by its UID

Parameters

const TUid aUIDservice plugin implementation UDI

NewL(const TDesC8 &)

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

Wraps ECom object instantitation default resovler is used

Parameters

const TDesC8 & aMatchStringservice plugin name

NotifyMemoryChange(TInt)

voidNotifyMemoryChange(TInt)[inline, virtual]

Empty implementation.

Parameters

TInt

ProcessMessageL(const TDesC8 &, THtiMessagePriority)

voidProcessMessageL(const TDesC8 &aMessage,
THtiMessagePriorityaPriority
)[pure virtual]

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

Parameters

const TDesC8 & aMessagemessage body destinated to a servive
THtiMessagePriority aPrioritymessage priority

SetDispatcher(MHtiDispatcher *)

voidSetDispatcher(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