|
||
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
:
EMsvCloseSession
The client should immediately close the session with the Message Server. EMsvCorruptedIndexRebuilding
The Message Server has started to rebuild its index after it has been corrupted.EMsvCorruptedIndexRebuilt
The Message Server index had been corrupted and had to be rebuilt.EMsvEntriesChanged
One or more index entries have been changed.EMsvEntriesCreated
One or more entries have been created.EMsvEntriesDeleted
One or more entries have been deleted.EMsvEntriesMoved
One or more entries have been moved.EMsvGeneralError
Something has happening in the server, but this client was unable to retrieve th...EMsvMediaAvailable
The disk containing the Message Store is available again.EMsvMediaChanged
The Message Server has automatically changed the index location to use the inter...EMsvMediaIncorrect
An incorrect disk is inserted.EMsvMediaUnavailable
The media (disk) containing the Message Server index has been removed.EMsvMtmGroupDeInstalled
A MTM has been uninstalled.EMsvMtmGroupInstalled
A new MTM has been installed.EMsvServerFailedToStart
Received after a client has used CMsvSession::OpenAsyncL(MMsvSessionObserver &am...EMsvServerReady
Received after a client has used CMsvSession::OpenAsyncL(MMsvSessionObserver &am...EMsvServerTerminated
The Message Server has been terminated.HandleSessionEventL(TMsvSessionEvent,TAny *,TAny *,TAny *)
Indicates an event has occurred.TMsvSessionEvent
Session 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::EMsvMediaUnavailable
The media (disk) containing the Message Server index has been removed.
|