MIMCacheAccessor Class Reference

class MIMCacheAccessor

An interface for updating conversation information

Since
5.0

Constructor & Destructor Documentation

~MIMCacheAccessor()

~MIMCacheAccessor ( ) [protected, inline, virtual]

Destructor

Member Functions Documentation

CloseConversationL(const TDesC &)

void CloseConversationL ( const TDesC & aBuddyId ) [pure virtual]

closes conversation and commit operation

Parameters

const TDesC & aBuddyId

GetAllUnreadMessageCountL()

TInt GetAllUnreadMessageCountL ( ) [pure virtual]

to get the all unread message count from server

GetChatListL(const TInt)

RArray < SIMCacheChatItem > GetChatListL ( const TInt aServiceId ) [pure virtual]

get the chat list corresponding to service

Parameters

const TInt aServiceId service id

GetUnreadMessageCountL(const TDesC &)

TInt GetUnreadMessageCountL ( const TDesC & aBuddyId ) [pure virtual]

to get the unread message count from server

Parameters

const TDesC & aBuddyId

IsConversationExistL(const TDesC &)

TBool IsConversationExistL ( const TDesC & aBuddyId ) [pure virtual]

check if already conversation opened

Parameters

const TDesC & aBuddyId

RegisterObserverL(MIMCacheEventHandler &)

void RegisterObserverL ( MIMCacheEventHandler & aObserver ) [pure virtual]

Register to observer conversation data updates

Parameters

MIMCacheEventHandler & aObserver the observer interface

UnRegisterObserver(MIMCacheEventHandler &)

void UnRegisterObserver ( MIMCacheEventHandler & aObserver ) [pure virtual]

Unregister a conversation data update observer

Parameters

MIMCacheEventHandler & aObserver the observer interface