|
||
class CClientMtmRegistry : public CObserverRegistry;
Accesses the Client-side MTM registry.
This registry holds details of the all the Client-side MTMs currently available on the system. Message client applications use this class to get a CBaseMtm-derived object by which to access Client-side MTM functionality.
Note that the base class CMtmDllRegistry
provides functions for discovering what MTMs are present in the registry.
MMsvSessionObserver
- Provides the interface for notification of events from a Message Server session.
CMtmDllRegistry
- No description.
CObserverRegistry
- Base class for client, UI and UI data MTM registries.
CClientMtmRegistry
- Accesses the Client-side MTM registry.
Defined in CClientMtmRegistry
:
NewL(CMsvSession &,TTimeIntervalMicroSeconds32)
Gets a CClientMtmRegistry object. The client should delete this object when it i...NewMtmL(TUid)
Creates a Client-side MTM object for the specified MTM UID.~CClientMtmRegistry()
Destructor. Inherited from CObserverRegistry
:
CObserverRegistry(CMsvSession &,TUid,TTimeIntervalMicroSeconds32)
Constructor.ConstructL()
Second-phase constructor. HandleSessionEventL(TMsvSessionEvent,TAny *,TAny *,TAny *)
Implements the session observer interface to update the registry information whe...iIsAdded
iMsvSession
Inherited from 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.TMsvSessionEvent
Session event type.IMPORT_C static CClientMtmRegistry* NewL(CMsvSession &aMsvSession, TTimeIntervalMicroSeconds32 aTimeoutMicroSeconds32=TTimeIntervalMicroSeconds32(30000000));
Gets a CClientMtmRegistry object. The client should delete this object when it is no longer required.
The registry keeps a reference count of the number of instances of each MTM in use. When that reference count falls to zero, the DLL that provides the MTM is unloaded. However, this is not done immediately, but only after the time specified in aTimeoutMicroSeconds32. This increases efficiency in cases where the DLL is required again shortly.
|
|
|
IMPORT_C CBaseMtm* NewMtmL(TUid aMtmTypeUid);
Creates a Client-side MTM object for the specified MTM UID.
The client should delete the returned object when it is no longer required.
|
|
|