CIMCacheFactory Class Reference

class CIMCacheFactory : public CBase

Inherits from

Constructor & Destructor Documentation

CIMCacheFactory()

CIMCacheFactory()[private]

default constructor

~CIMCacheFactory()

~CIMCacheFactory()[private]

destructor

Member Functions Documentation

ConstructL()

voidConstructL()[private]

ConstructL

CreateAccessorL(TInt, const TDesC &)

EXPORT_C MIMCacheAccessor *CreateAccessorL(TIntaServiceId,
const TDesC &aUserId
)

Creates a accessor interface

Parameters

TInt aServiceId
const TDesC & aUserIdthe aUserId to be used with this interface instance

CreateUpdaterL(TInt, const TDesC &, TBool)

IMPORT_C MIMCacheUpdater *CreateUpdaterL(TIntaServiceId,
const TDesC &aUserId,
TBoolaRegistrationNeeded
)

Creates a updater interface

Parameters

TInt aServiceId
const TDesC & aUserIdthe aUserId to be used with this interface instance
TBool aRegistrationNeeded

DecrementReference()

TInt DecrementReference()[private]

DecrementReference. Decrements the count of the imcache factory reference.

IncrementReference()

voidIncrementReference()[private]

IncrementReference. Increments the count of the imcache factory reference.

InstanceL()

IMPORT_C CIMCacheFactory *InstanceL()[static]

read the instance from tls if exist or create return if exist instace return or create return

NewL()

CIMCacheFactory *NewL()[private, static]

two phase construction return the new of CIMCacheFactory

Release()

IMPORT_C voidRelease()[static]

release the all instaces create by client factory

Member Data Documentation

RPointerArray< CIMCacheAccessor > iAccessorArray

RPointerArray< CIMCacheAccessor >iAccessorArray[private]

TInt iReferenceCount

TInt iReferenceCount[private]

CIMCacheClient * iServerKeepAlive

CIMCacheClient *iServerKeepAlive[private]

RPointerArray< CIMCacheUpdater > iUpdaterArray

RPointerArray< CIMCacheUpdater >iUpdaterArray[private]