Location:
msvapi.h
Link against: msgs.lib
MMsvSessionObserver
Supported from 5.0
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()
or CMsvSession::OpenASyncL()
. Additional observers can also be added and removed through CMsvSession
.
Defined in MMsvSessionObserver
:
EMsvCloseSession
, EMsvCorruptedIndexRebuilding
, EMsvCorruptedIndexRebuilt
, EMsvGeneralError
, EMsvMediaAvailable
, EMsvMediaChanged
, EMsvMediaIncorrect
, EMsvMediaUnavailable
, EMsvMtmGroupDeInstalled
, EMsvMtmGroupInstalled
, EMsvServerFailedToStart
, EMsvServerReady
, EMsvServerTerminated
, EMsvStoreCommitted
, EMsvStoreCreated
, EMsvStoreDeleted
, EmsvEntriesChanged
, EmsvEntriesDeleted
, EmsvEntriesMoved
, EmsvEntryCreated
, HandleSessionEvent()
, HandleSessionEventL()
, TMsvSessionEvent
virtual void HandleSessionEvent(TMsvSessionEvent aEvent, TAny* aArg1, TAny* aArg2, TAny* aArg3)=0;
Withdrawn in 5.1
Indicates an event has occurred—non leaving.
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.
|
virtual void HandleSessionEventL(TMsvSessionEvent aEvent, TAny* aArg1, TAny* aArg2, TAny* aArg3)=0;
Supported from 5.1
Indicates an event has occurred—leaving.
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.
|