|
|
|
class MMsvSessionObserver;
Provides the interface for notification of events from a Message Server session.
The types of event are given in the enumeration TMsvSessionEvent. Clients must provide an object that implements the interface,
and set it to be notified through CMsvSession::OpenSyncL(MMsvSessionObserver &) or CMsvSession::OpenASyncL(). Additional observers can also be added and removed through CMsvSession.
Defined in MMsvSessionObserver:
EMsvCloseSessionThe client should immediately close the session with the Message Server. EMsvCorruptedIndexRebuildingThe Message Server has started to rebuild its index after it has been corrupted.EMsvCorruptedIndexRebuiltThe Message Server index had been corrupted and had to be rebuilt.EMsvEntriesChangedOne or more index entries have been changed.EMsvEntriesCreatedOne or more entries have been created.EMsvEntriesDeletedOne or more entries have been deleted.EMsvEntriesMovedOne or more entries have been moved.EMsvGeneralErrorSomething has happening in the server, but this client was unable to retrieve th...EMsvMediaAvailableThe disk containing the Message Store is available again.EMsvMediaChangedThe Message Server has automatically changed the index location to use the inter...EMsvMediaIncorrectAn incorrect disk is inserted.EMsvMediaUnavailableThe media (disk) containing the Message Server index has been removed.EMsvMtmGroupDeInstalledA MTM has been uninstalled.EMsvMtmGroupInstalledA new MTM has been installed.EMsvServerFailedToStartReceived after a client has used CMsvSession::OpenAsyncL(MMsvSessionObserver &am...EMsvServerReadyReceived after a client has used CMsvSession::OpenAsyncL(MMsvSessionObserver &am...EMsvServerTerminatedThe Message Server has been terminated.HandleSessionEventL(TMsvSessionEvent,TAny *,TAny *,TAny *)Indicates an event has occurred.TMsvSessionEventSession event type.CMsvSession::AddObserverL(MMsvSessionObserver &)Registers a new session observer.CMsvSession::RemoveObserver(MMsvSessionObserver &)Deregisters a previously registered observer.virtual void HandleSessionEventL(TMsvSessionEvent aEvent, TAny *aArg1, TAny *aArg2, TAny *aArg3)=0;
Indicates an event has occurred.
The type of event is indicated by the value of aEvent. The interpretation of the TAny arguments depends on this type.
For most event types, the action that is taken, for example, updating the display, is client-specific. All clients though should respond to EMsvCloseSession and EMsvServerTerminated events.
|
TMsvSessionEvent
Session event type.
MMsvSessionObserver::EMsvMediaUnavailableThe media (disk) containing the Message Server index has been removed.
|