CMsvServer Class Reference

class CMsvServer : public CPolicyServer
Public Member Functions
~CMsvServer ()
TInt AddEntry ( TMsvEntry &, TSecureId , TBool , TBool )
TInt AddEntry ( CMsvIndexContext *const &, TMsvEntry &, TSecureId , TBool , TBool )
void AttemptDelayedUpdating ()
IMPORT_C TInt ChangeDrive ( TInt , TRequestStatus *)
TInt ChangeEntry (const TMsvEntry &, TSecureId , TBool , TBool )
void CheckAndClose ()
TInt CheckEntries (const CMsvEntrySelection &)
TInt CheckEntries (const CMsvEntrySelection &, TInt , TInt )
void CloseServer (const RMessage2 &)
void ClosingSession ( TInt )
void CompleteBulkTransaction (void)
CMsvIndexContext & Context ()
IMPORT_C TInt CopyStore (const TDriveUnit &, TRequestStatus *)
IMPORT_C void CreateIndexL ( TBool )
void CreateSearchSortCacheL ()
void CurrentConfigL ( RFs &, TMsvConfig &)
TInt DeInstallMtmGroup (const TDesC &, TUid &)
CMsvTimer & Delay ()
void DeleteNewContext ()
IMPORT_C TInt DeleteStore (const TDriveUnit &, TRequestStatus *)
const TDriveUnit & Drive ()
RFs & FileSession ()
TInt FillRegisteredMtmDllArray ( TUid , CRegisteredMtmDllArray &)
TInt GetAndMakeFileDirectory ( TMsvId , TDes &)
void GetCapsEntryCreateModifyL (const RMessage2 &, TMsvId , TUid , TSecureId , TBool , TBool , TCapabilitySet &)
void GetCapsForMtmL ( TUid , TCapabilitySet &)
TInt GetEntryName ( TMsvId , TDes &, TBool )
TInt GetFileDirectoryListing ( TMsvId , TDes &, CDir *&)
CMtmGroupData * GetMtmGroupDataL ( TUid )
void GetMtmRequiredCapabilitiesL ( TUid , TCapabilitySet &)
void GetNonOperationMtmDataL ( TMsvId , TNonOperationMtmDataType , TPtrC8 &)
TBool HasContext ()
const CMsvIndexAdapter & IndexAdapter ()
CMsvIndexAdapter & IndexAdapter ()
TInt InstallMtmGroup (const TDesC &, TUid &)
void Log ( TRefByValue < const TDesC >, ...)
void MailinitFinished ( TInt , TDriveNumber )
MRegisteredMtmDllObserver & MtmObserver ()
CMsvIndexContext * NewContext ()
IMPORT_C CMsvServer * NewL ()
CMsvServer * NewL ( TBool )
CSession2 * NewSessionL (const TVersion &, const RMessage2 &)
void NotifyChanged ( TMsvServerChangeNotificationType , const CMsvEntrySelection &, TInt , TInt )
void NotifyChanged ( TMsvServerChangeNotificationType , TMsvId , TInt , TInt )
void NotifyChanged ( TMsvServerChangeNotificationType , TUid )
void NotifyChangedBulkL ()
void OperationCancelled (const CMsvMtmOperation &)
void OperationCompleted ( TMsvId , TMsvOp )
TInt OutstandingOperations ()
void PoliceCopyEntriesL (const RMessage2 &, const CMsvEntrySelection &, TMsvId , TBool &, const char *)
void PoliceCopyMoveUnderOutboxL (const RMessage2 &, const CMsvEntrySelection &, const char *)
void PoliceCreateEntryL (const RMessage2 &, TMsvEntry , TBool &, const char *)
void PoliceCreateModifyEntryL (const RMessage2 &, CMsvIndexAdapter::TMsvServerEntryInfo, TBool , TBool &, const char *)
void PoliceModifyEntryL (const RMessage2 &, TMsvEntry , TBool &, const char *)
void PoliceModifyEntryL (const RMessage2 &, TMsvId , TBool &, const char *)
void PoliceModifyEntryL (const RMessage2 &, TMsvId , const char *)
void PoliceMoveEntriesL (const RMessage2 &, const CMsvEntrySelection &, TMsvId , TMsvId , TBool &, TBool &, const char *)
void PoliceMtmTransferCommandL (const RMessage2 &, TUid , const char *)
void PoliceReadEntryL (const RMessage2 &, TSecureId , const char *)
void PoliceReadEntryL (const RMessage2 &, TMsvId , const char *)
void PoliceSearchSortQueryReadRequestL (const RMessage2 &, const char *)
void PoliceStopServiceL (const RMessage2 &, TUid , const char *)
TBool ProtectedFolder ( TMsvId )
TBool ProtectedRemoteServices ()
void QueueNotifyChanged ( TMsvServerChangeNotificationType )
const CServerMtmDllRegistry & Registry ()
void RemoveEntry ( TMsvId )
TMsvServerStoreManager & ServerStoreManager ()
void ServiceActive (const RMessage2 &)
const TDesC8 & ServiceProgressL ( TMsvId )
TInt SessionId ()
void SetFailure ( TMsvFailure , TInt , TInt , TInt )
void SetStartupState ( TMsvServerChangeNotificationType )
void StartOperationL ( CMsvMtmOperation &, TInt , const RMessage2 &, TBool )
TMsvServerChangeNotificationType StartupState ()
void StopServiceL (const RMessage2 &)
Private Member Functions
CMsvServer ( TInt , TBool )
void AddSessionIdToQueueL ( CMsvMtmOperationQueue &, TInt )
void BuildDefaultIniFileL ( TMsvConfig &)
TInt CheckMtmStatus ( TMsvId , TBool &)
void ConstructL ()
void ContextComplete ( TInt , TBool )
void CreateIndexFromResources ()
void CreateLogL ()
void CreateRegistriesL ()
TBool DiskChanged (const TDriveUnit &, TUint )
TBool DiskInserted (const TDriveUnit &)
TBool DiskRemoved (const TDriveUnit &)
void DoChangeDriveL ( TInt , TRequestStatus *)
CSession2 * DoNewSessionL (const RMessage2 &)
void DoNotify ( TMsvServerChangeNotificationType , TBool )
void DoNotifyChangedBulkL ( TMsvServerChangeNotificationType , const CMsvEntrySelection &)
void DoRemoveEntriesL ( TMsvId )
TInt GetEntryName (const CMsvIndexContext &, TMsvId , TDes &, TBool )
CBaseServerMtm * LoadMtmL (const CMsvMtmOperation &)
void QueueOperationL ( CMsvMtmOperation &, TInt )
void RunMailInitExe ()
TBool SessionIdInQueue ( CMsvMtmOperationQueue &, TInt )
void StartNextOperation ( CMsvMtmOperationQueue *, TInt )
void StartObserverExes ()
void SuspendSendingMessagesL ()
Inherited Functions
CActive::CActive(TInt)
CActive::Cancel()
CActive::Deque()
CActive::IsActive()const
CActive::IsAdded()const
CActive::Priority()const
CActive::SetActive()
CActive::SetPriority(TInt)
CActive::~CActive()
CBase::CBase()
CBase::Delete(CBase *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CPolicyServer::CPolicyServer(TInt,const TPolicy &,TServerType)
CPolicyServer::CheckFailedL(const RMessage2 &,TInt,const TSecurityInfo &)
CPolicyServer::CustomFailureActionL(const RMessage2 &,TInt,const TSecurityInfo &)
CPolicyServer::CustomSecurityCheckL(const RMessage2 &,TInt &,TSecurityInfo &)
CPolicyServer::Extension_(TUint,TAny *&,TAny *)
CPolicyServer::ProcessError(const RMessage2 &,TInt)
CPolicyServer::ProcessL(const RMessage2 &)
CServer2::CServer2(TInt,TServerType)
CServer2::DoCancel()
CServer2::DoConnect(const RMessage2 &)
CServer2::Message()const
CServer2::ReStart()
CServer2::Server()const
CServer2::SetMaster(const CServer2 *)
CServer2::SetPinClientDescriptors(TBool)
CServer2::Start(const TDesC &)
CServer2::StartL(const TDesC &)
CServer2::~CServer2()
Inherited Enumerations
CActive:TPriority
CPolicyServer:TCustomResult
CPolicyServer:TFailureAction
CPolicyServer:TSpecialCase
CServer2:TPanic
CServer2:TServerType
Private Attributes
CMsvBackupHandler * iBackup
CMsvEntrySelection * iBulkChangeSelection
CMsvEntrySelection * iBulkCreationSelection
TMsvNotifBuffer iChange
TBool iCloseServer
CMsvIndexContext * iContext
TBool iDebug
CMsvTimer * iDelayTimer
CMsvEntryFreePool * iFreePoolInstance
RFs iFs
TDriveUnit iIndexDrive
TFileName iIndexFileName
TInt iLoadError
RFileLogger iLog
CMsvMailinitWaiter * iMailinitWaiter
CArrayPtrFlat < CMsvMtmOperationQueue > iMtmOperationQueueArray
CMtmRegistryControl * iMtmRegControl
CMsvIndexContext * iNewContext
CMsvNotifyDiskChange * iNotify
RArray < TMsvId > iProtectedFolders
TBool iReleasedForRestore
TBool iRemoteServicesProtected
CMSvSearchSortCacheManager * iSearchSortCacheManager
CServerMtmDllRegistry * iServerMtmReg
TMsvServerStoreManager iServerStoreManager
TInt iSessionNumber
TMsvServerChangeNotificationType iStartupState
TBuf < 2 > iSystemDrive
Inherited Attributes
CActive::iStatus
CServer2::iSessionIter

Constructor & Destructor Documentation

CMsvServer(TInt, TBool)

CMsvServer ( TInt aPriority,
TBool aDebug
) [private]

Parameters

TInt aPriority
TBool aDebug

~CMsvServer()

~CMsvServer ( )

Member Functions Documentation

AddEntry(TMsvEntry &, TSecureId, TBool, TBool)

TInt AddEntry ( TMsvEntry & aEntry,
TSecureId aOwnerId,
TBool aAutoAssignId,
TBool aBulk = EFalse
)

Parameters

TMsvEntry & aEntry
TSecureId aOwnerId
TBool aAutoAssignId
TBool aBulk = EFalse

AddEntry(CMsvIndexContext *const &, TMsvEntry &, TSecureId, TBool, TBool)

TInt AddEntry ( CMsvIndexContext *const & aContext,
TMsvEntry & aEntry,
TSecureId aOwnerId,
TBool aAutoAssignId,
TBool aBulk = EFalse
)

Parameters

CMsvIndexContext *const & aContext
TMsvEntry & aEntry
TSecureId aOwnerId
TBool aAutoAssignId
TBool aBulk = EFalse

AddSessionIdToQueueL(CMsvMtmOperationQueue &, TInt)

void AddSessionIdToQueueL ( CMsvMtmOperationQueue & aQueue,
TInt aSessionId
) [private, inline]

Parameters

CMsvMtmOperationQueue & aQueue
TInt aSessionId

AttemptDelayedUpdating()

void AttemptDelayedUpdating ( )

BuildDefaultIniFileL(TMsvConfig &)

void BuildDefaultIniFileL ( TMsvConfig & aConfig ) [private, static]

Parameters

TMsvConfig & aConfig

ChangeDrive(TInt, TRequestStatus *)

IMPORT_C TInt ChangeDrive ( TInt aDrive,
TRequestStatus * aStatus
)

Parameters

TInt aDrive
TRequestStatus * aStatus

ChangeEntry(const TMsvEntry &, TSecureId, TBool, TBool)

TInt ChangeEntry ( const TMsvEntry & aEntry,
TSecureId aOwnerId,
TBool aForcedUpdate,
TBool aBulk = EFalse
)

Parameters

const TMsvEntry & aEntry
TSecureId aOwnerId
TBool aForcedUpdate
TBool aBulk = EFalse

CheckAndClose()

void CheckAndClose ( )

CheckEntries(const CMsvEntrySelection &)

TInt CheckEntries ( const CMsvEntrySelection & aEntries ) [inline]

Parameters

const CMsvEntrySelection & aEntries

CheckEntries(const CMsvEntrySelection &, TInt, TInt)

TInt CheckEntries ( const CMsvEntrySelection & aEntries,
TInt aStartIndex,
TInt aEndIndex
)

Parameters

const CMsvEntrySelection & aEntries
TInt aStartIndex
TInt aEndIndex

CheckMtmStatus(TMsvId, TBool &)

TInt CheckMtmStatus ( TMsvId aServiceId,
TBool & aRunning
) [private]

Parameters

TMsvId aServiceId
TBool & aRunning

CloseServer(const RMessage2 &)

void CloseServer ( const RMessage2 & aMessage )

Parameters

const RMessage2 & aMessage

ClosingSession(TInt)

void ClosingSession ( TInt aSessionId )

Parameters

TInt aSessionId

CompleteBulkTransaction(void)

void CompleteBulkTransaction ( void )

Parameters

void

ConstructL()

void ConstructL ( ) [private]

Context()

CMsvIndexContext & Context ( ) const [inline]

ContextComplete(TInt, TBool)

void ContextComplete ( TInt aError,
TBool aRunMailInit
) [private]

Parameters

TInt aError
TBool aRunMailInit

CopyStore(const TDriveUnit &, TRequestStatus *)

IMPORT_C TInt CopyStore ( const TDriveUnit & aDrive,
TRequestStatus * aStatus
)

Parameters

const TDriveUnit & aDrive
TRequestStatus * aStatus

CreateIndexFromResources()

void CreateIndexFromResources ( ) [private]

CreateIndexL(TBool)

IMPORT_C void CreateIndexL ( TBool aSync = EFalse )

Parameters

TBool aSync = EFalse

CreateLogL()

void CreateLogL ( ) [private]

CreateRegistriesL()

void CreateRegistriesL ( ) [private]

CreateSearchSortCacheL()

void CreateSearchSortCacheL ( )

CurrentConfigL(RFs &, TMsvConfig &)

void CurrentConfigL ( RFs & aFs,
TMsvConfig & aConfig
) [static]

Parameters

RFs & aFs
TMsvConfig & aConfig

DeInstallMtmGroup(const TDesC &, TUid &)

TInt DeInstallMtmGroup ( const TDesC & aFullName,
TUid & aMtmTypeUid
)

Parameters

const TDesC & aFullName
TUid & aMtmTypeUid

Delay()

CMsvTimer & Delay ( ) const [inline]

DeleteNewContext()

void DeleteNewContext ( ) [inline]

DeleteStore(const TDriveUnit &, TRequestStatus *)

IMPORT_C TInt DeleteStore ( const TDriveUnit & aDrive,
TRequestStatus * aStatus
)

Parameters

const TDriveUnit & aDrive
TRequestStatus * aStatus

DiskChanged(const TDriveUnit &, TUint)

TBool DiskChanged ( const TDriveUnit & aDrive,
TUint aUniqueId
) [private]

Parameters

const TDriveUnit & aDrive
TUint aUniqueId

DiskInserted(const TDriveUnit &)

TBool DiskInserted ( const TDriveUnit & aDrive ) [private]

Parameters

const TDriveUnit & aDrive

DiskRemoved(const TDriveUnit &)

TBool DiskRemoved ( const TDriveUnit & aDrive ) [private]

Parameters

const TDriveUnit & aDrive

DoChangeDriveL(TInt, TRequestStatus *)

void DoChangeDriveL ( TInt aDrive,
TRequestStatus * aStatus
) [private]

Parameters

TInt aDrive
TRequestStatus * aStatus

DoNewSessionL(const RMessage2 &)

CSession2 * DoNewSessionL ( const RMessage2 & aMessage ) [private]

Parameters

const RMessage2 & aMessage

DoNotify(TMsvServerChangeNotificationType, TBool)

void DoNotify ( TMsvServerChangeNotificationType aChangeType,
TBool aQueue = EFalse
) [private]

Parameters

TMsvServerChangeNotificationType aChangeType
TBool aQueue = EFalse

DoNotifyChangedBulkL(TMsvServerChangeNotificationType, const CMsvEntrySelection &)

void DoNotifyChangedBulkL ( TMsvServerChangeNotificationType aChangeType,
const CMsvEntrySelection & aEntriesToNotify
) [private]

Parameters

TMsvServerChangeNotificationType aChangeType
const CMsvEntrySelection & aEntriesToNotify

DoRemoveEntriesL(TMsvId)

void DoRemoveEntriesL ( TMsvId aId ) [private]

Parameters

TMsvId aId

Drive()

const TDriveUnit & Drive ( ) const

FileSession()

RFs & FileSession ( ) [inline]

FillRegisteredMtmDllArray(TUid, CRegisteredMtmDllArray &)

TInt FillRegisteredMtmDllArray ( TUid aMtmDllTypeUid,
CRegisteredMtmDllArray & aRegisteredMtmDllArray
)

Parameters

TUid aMtmDllTypeUid
CRegisteredMtmDllArray & aRegisteredMtmDllArray

GetAndMakeFileDirectory(TMsvId, TDes &)

TInt GetAndMakeFileDirectory ( TMsvId aId,
TDes & aDirectory
)

Parameters

TMsvId aId
TDes & aDirectory

GetCapsEntryCreateModifyL(const RMessage2 &, TMsvId, TUid, TSecureId, TBool, TBool, TCapabilitySet &)

void GetCapsEntryCreateModifyL ( const RMessage2 & aMsg,
TMsvId aFolder,
TUid aMtm,
TSecureId aOwnerId,
TBool aCreateEntry,
TBool aLocal,
TCapabilitySet & aCaps
)

Parameters

const RMessage2 & aMsg
TMsvId aFolder
TUid aMtm
TSecureId aOwnerId
TBool aCreateEntry
TBool aLocal
TCapabilitySet & aCaps

GetCapsForMtmL(TUid, TCapabilitySet &)

void GetCapsForMtmL ( TUid aMtm,
TCapabilitySet & aCaps
)

Parameters

TUid aMtm
TCapabilitySet & aCaps

GetEntryName(TMsvId, TDes &, TBool)

TInt GetEntryName ( TMsvId aId,
TDes & aFileName,
TBool aFolderRequired
)

Parameters

TMsvId aId
TDes & aFileName
TBool aFolderRequired

GetEntryName(const CMsvIndexContext &, TMsvId, TDes &, TBool)

TInt GetEntryName ( const CMsvIndexContext & aContext,
TMsvId aId,
TDes & aFileName,
TBool aFolderRequired
) [private]

Parameters

const CMsvIndexContext & aContext
TMsvId aId
TDes & aFileName
TBool aFolderRequired

GetFileDirectoryListing(TMsvId, TDes &, CDir *&)

TInt GetFileDirectoryListing ( TMsvId aId,
TDes & aDirectory,
CDir *& aDir
)

Parameters

TMsvId aId
TDes & aDirectory
CDir *& aDir

GetMtmGroupDataL(TUid)

CMtmGroupData * GetMtmGroupDataL ( TUid aMtmTypeUid ) const

Parameters

TUid aMtmTypeUid

GetMtmRequiredCapabilitiesL(TUid, TCapabilitySet &)

void GetMtmRequiredCapabilitiesL ( TUid aMtmTypeUid,
TCapabilitySet & aCaps
) const

Parameters

TUid aMtmTypeUid
TCapabilitySet & aCaps

GetNonOperationMtmDataL(TMsvId, TNonOperationMtmDataType, TPtrC8 &)

void GetNonOperationMtmDataL ( TMsvId aServiceId,
TNonOperationMtmDataType aMtmDataType,
TPtrC8 & aResultBuffer
)

Parameters

TMsvId aServiceId
TNonOperationMtmDataType aMtmDataType
TPtrC8 & aResultBuffer

HasContext()

TBool HasContext ( ) const [inline]

IndexAdapter()

const CMsvIndexAdapter & IndexAdapter ( ) const [inline]

IndexAdapter()

CMsvIndexAdapter & IndexAdapter ( ) [inline]

InstallMtmGroup(const TDesC &, TUid &)

TInt InstallMtmGroup ( const TDesC & aFullName,
TUid & aMtmTypeUid
)

Parameters

const TDesC & aFullName
TUid & aMtmTypeUid

LoadMtmL(const CMsvMtmOperation &)

CBaseServerMtm * LoadMtmL ( const CMsvMtmOperation & aOperation ) [private]

Parameters

const CMsvMtmOperation & aOperation

Log(TRefByValue< const TDesC >, ...)

void Log ( TRefByValue < const TDesC > aFmt,
...
)

Parameters

TRefByValue < const TDesC > aFmt
...

MailinitFinished(TInt, TDriveNumber)

void MailinitFinished ( TInt aError,
TDriveNumber aDriveNum
)

Parameters

TInt aError
TDriveNumber aDriveNum

MtmObserver()

MRegisteredMtmDllObserver & MtmObserver ( ) const [inline]

NewContext()

CMsvIndexContext * NewContext ( ) const [inline]

NewL()

IMPORT_C CMsvServer * NewL ( ) [static]

NewL(TBool)

CMsvServer * NewL ( TBool aDebug ) [static]

Parameters

TBool aDebug

NewSessionL(const TVersion &, const RMessage2 &)

CSession2 * NewSessionL ( const TVersion & aVersion,
const RMessage2 & aMessage
) const [virtual]

Creates a server-side session object.

The session represents a communication link between a client and a server, and its creation is initiated by the client through a call to one of the RSessionBase::CreateSession() variants.

A server must provide an implementation, which as a minimum should:

  • check that the version of the server is compatible with the client by comparing the client supplied version number against the server's version number; it should leave if there is incompatibility.

  • construct and return the server side client session object.

User::QueryVersionSupported()

Parameters

const TVersion & aVersion The version information supplied by the client.
const RMessage2 & aMessage Represents the details of the client request that is requesting the creation of the session.

NotifyChanged(TMsvServerChangeNotificationType, const CMsvEntrySelection &, TInt, TInt)

void NotifyChanged ( TMsvServerChangeNotificationType aChangeType,
const CMsvEntrySelection & aSelection,
TInt aParameter1 = 0,
TInt aParameter2 = 0
)

Parameters

TMsvServerChangeNotificationType aChangeType
const CMsvEntrySelection & aSelection
TInt aParameter1 = 0
TInt aParameter2 = 0

NotifyChanged(TMsvServerChangeNotificationType, TMsvId, TInt, TInt)

void NotifyChanged ( TMsvServerChangeNotificationType aChangeType,
TMsvId aId =  KMsvNullIndexEntryId ,
TInt aParameter1 = 0,
TInt aParameter2 = 0
)

Parameters

TMsvServerChangeNotificationType aChangeType
TMsvId aId =  KMsvNullIndexEntryId
TInt aParameter1 = 0
TInt aParameter2 = 0

NotifyChanged(TMsvServerChangeNotificationType, TUid)

void NotifyChanged ( TMsvServerChangeNotificationType aChangeType,
TUid aMtmTypeUid
)

Parameters

TMsvServerChangeNotificationType aChangeType
TUid aMtmTypeUid

NotifyChangedBulkL()

void NotifyChangedBulkL ( )

OperationCancelled(const CMsvMtmOperation &)

void OperationCancelled ( const CMsvMtmOperation & aOperation )

Parameters

const CMsvMtmOperation & aOperation

OperationCompleted(TMsvId, TMsvOp)

void OperationCompleted ( TMsvId aServiceId,
TMsvOp aOpId
)

Parameters

TMsvId aServiceId
TMsvOp aOpId

OutstandingOperations()

TInt OutstandingOperations ( )

PoliceCopyEntriesL(const RMessage2 &, const CMsvEntrySelection &, TMsvId, TBool &, const char *)

void PoliceCopyEntriesL ( const RMessage2 & aMsg,
const CMsvEntrySelection & aSelection,
TMsvId aTarget,
TBool & aTargetIsLocal,
const char * aContextText
)

Parameters

const RMessage2 & aMsg
const CMsvEntrySelection & aSelection
TMsvId aTarget
TBool & aTargetIsLocal
const char * aContextText

PoliceCopyMoveUnderOutboxL(const RMessage2 &, const CMsvEntrySelection &, const char *)

void PoliceCopyMoveUnderOutboxL ( const RMessage2 & aMsg,
const CMsvEntrySelection & aSelection,
const char * aContextText
)

Parameters

const RMessage2 & aMsg
const CMsvEntrySelection & aSelection
const char * aContextText

PoliceCreateEntryL(const RMessage2 &, TMsvEntry, TBool &, const char *)

void PoliceCreateEntryL ( const RMessage2 & aMsg,
TMsvEntry aEntry,
TBool & aIsLocal,
const char * aContextText
)

Parameters

const RMessage2 & aMsg
TMsvEntry aEntry
TBool & aIsLocal
const char * aContextText

PoliceCreateModifyEntryL(const RMessage2 &, CMsvIndexAdapter::TMsvServerEntryInfo, TBool, TBool &, const char *)

void PoliceCreateModifyEntryL ( const RMessage2 & aMsg,
CMsvIndexAdapter::TMsvServerEntryInfo aEntryInfo,
TBool aCreate,
TBool & aIsLocal,
const char * aContextText
)

Parameters

const RMessage2 & aMsg
CMsvIndexAdapter::TMsvServerEntryInfo aEntryInfo
TBool aCreate
TBool & aIsLocal
const char * aContextText

PoliceModifyEntryL(const RMessage2 &, TMsvEntry, TBool &, const char *)

void PoliceModifyEntryL ( const RMessage2 & aMsg,
TMsvEntry aEntry,
TBool & aIsLocal,
const char * aContextText
)

Parameters

const RMessage2 & aMsg
TMsvEntry aEntry
TBool & aIsLocal
const char * aContextText

PoliceModifyEntryL(const RMessage2 &, TMsvId, TBool &, const char *)

void PoliceModifyEntryL ( const RMessage2 & aMsg,
TMsvId aId,
TBool & aIsLocal,
const char * aContextText
)

Parameters

const RMessage2 & aMsg
TMsvId aId
TBool & aIsLocal
const char * aContextText

PoliceModifyEntryL(const RMessage2 &, TMsvId, const char *)

void PoliceModifyEntryL ( const RMessage2 & aMsg,
TMsvId aId,
const char * aContextText
)

Parameters

const RMessage2 & aMsg
TMsvId aId
const char * aContextText

PoliceMoveEntriesL(const RMessage2 &, const CMsvEntrySelection &, TMsvId, TMsvId, TBool &, TBool &, const char *)

void PoliceMoveEntriesL ( const RMessage2 & aMsg,
const CMsvEntrySelection & aSelection,
TMsvId aTarget,
TMsvId aSource,
TBool & aTargetIsLocal,
TBool & aSourceIsLocal,
const char * aContextText
)

Parameters

const RMessage2 & aMsg
const CMsvEntrySelection & aSelection
TMsvId aTarget
TMsvId aSource
TBool & aTargetIsLocal
TBool & aSourceIsLocal
const char * aContextText

PoliceMtmTransferCommandL(const RMessage2 &, TUid, const char *)

void PoliceMtmTransferCommandL ( const RMessage2 & aMsg,
TUid aMtm,
const char * aContextText
)

Parameters

const RMessage2 & aMsg
TUid aMtm
const char * aContextText

PoliceReadEntryL(const RMessage2 &, TSecureId, const char *)

void PoliceReadEntryL ( const RMessage2 & aMsg,
TSecureId aOwnerId,
const char * aContextText
)

Parameters

const RMessage2 & aMsg
TSecureId aOwnerId
const char * aContextText

PoliceReadEntryL(const RMessage2 &, TMsvId, const char *)

void PoliceReadEntryL ( const RMessage2 & aMsg,
TMsvId aId,
const char * aContextText
)

Parameters

const RMessage2 & aMsg
TMsvId aId
const char * aContextText

PoliceSearchSortQueryReadRequestL(const RMessage2 &, const char *)

void PoliceSearchSortQueryReadRequestL ( const RMessage2 & aMsg,
const char * aContextText
)

Checks client capabilty for readuserdata for performing search sort operation

Parameters

const RMessage2 & aMsg
const char * aContextText

PoliceStopServiceL(const RMessage2 &, TUid, const char *)

void PoliceStopServiceL ( const RMessage2 & aMsg,
TUid aMtm,
const char * aContextText
)

Parameters

const RMessage2 & aMsg
TUid aMtm
const char * aContextText

ProtectedFolder(TMsvId)

TBool ProtectedFolder ( TMsvId aFolder ) const

Parameters

TMsvId aFolder

ProtectedRemoteServices()

TBool ProtectedRemoteServices ( ) const

QueueNotifyChanged(TMsvServerChangeNotificationType)

void QueueNotifyChanged ( TMsvServerChangeNotificationType aChangeType )

Parameters

TMsvServerChangeNotificationType aChangeType

QueueOperationL(CMsvMtmOperation &, TInt)

void QueueOperationL ( CMsvMtmOperation & aOperation,
TInt aSessionId
) [private]

Parameters

CMsvMtmOperation & aOperation
TInt aSessionId

Registry()

const CServerMtmDllRegistry & Registry ( ) const [inline]

RemoveEntry(TMsvId)

void RemoveEntry ( TMsvId aId )

Parameters

TMsvId aId

RunMailInitExe()

void RunMailInitExe ( ) [private]

ServerStoreManager()

TMsvServerStoreManager & ServerStoreManager ( )

ServiceActive(const RMessage2 &)

void ServiceActive ( const RMessage2 & aMessage )

Parameters

const RMessage2 & aMessage

ServiceProgressL(TMsvId)

const TDesC8 & ServiceProgressL ( TMsvId aServcieId )

Parameters

TMsvId aServcieId

SessionId()

TInt SessionId ( ) [inline]

SessionIdInQueue(CMsvMtmOperationQueue &, TInt)

TBool SessionIdInQueue ( CMsvMtmOperationQueue & aQueue,
TInt aSessionId
) const [private]

Parameters

CMsvMtmOperationQueue & aQueue
TInt aSessionId

SetFailure(TMsvFailure, TInt, TInt, TInt)

void SetFailure ( TMsvFailure aType,
TInt aArg1,
TInt aArg2,
TInt
)

Parameters

TMsvFailure aType
TInt aArg1
TInt aArg2
TInt

SetStartupState(TMsvServerChangeNotificationType)

void SetStartupState ( TMsvServerChangeNotificationType aState )

StartNextOperation(CMsvMtmOperationQueue *, TInt)

void StartNextOperation ( CMsvMtmOperationQueue * aQueue,
TInt aQueueIndex
) [private]

Parameters

CMsvMtmOperationQueue * aQueue
TInt aQueueIndex

StartObserverExes()

void StartObserverExes ( ) [private]

StartOperationL(CMsvMtmOperation &, TInt, const RMessage2 &, TBool)

void StartOperationL ( CMsvMtmOperation & aOperation,
TInt aSessionId,
const RMessage2 & aMessage,
TBool aHasCapability
)

Parameters

CMsvMtmOperation & aOperation
TInt aSessionId
const RMessage2 & aMessage
TBool aHasCapability

StartupState()

TMsvServerChangeNotificationType StartupState ( ) const [inline]

StopServiceL(const RMessage2 &)

void StopServiceL ( const RMessage2 & aMessage )

Parameters

const RMessage2 & aMessage

SuspendSendingMessagesL()

void SuspendSendingMessagesL ( ) [private]

Member Data Documentation

CMsvBackupHandler * iBackup

CMsvBackupHandler * iBackup [private]

CMsvEntrySelection * iBulkChangeSelection

CMsvEntrySelection * iBulkChangeSelection [private]

CMsvEntrySelection * iBulkCreationSelection

CMsvEntrySelection * iBulkCreationSelection [private]

TMsvNotifBuffer iChange

TMsvNotifBuffer iChange [private]

TBool iCloseServer

TBool iCloseServer [private]

CMsvIndexContext * iContext

CMsvIndexContext * iContext [private]

TBool iDebug

TBool iDebug [private]

CMsvTimer * iDelayTimer

CMsvTimer * iDelayTimer [private]

CMsvEntryFreePool * iFreePoolInstance

CMsvEntryFreePool * iFreePoolInstance [private]

RFs iFs

RFs iFs [private]

TDriveUnit iIndexDrive

TDriveUnit iIndexDrive [private]

TFileName iIndexFileName

TFileName iIndexFileName [private]

TInt iLoadError

TInt iLoadError [private]

RFileLogger iLog

RFileLogger iLog [private]

CMsvMailinitWaiter * iMailinitWaiter

CMsvMailinitWaiter * iMailinitWaiter [private]

CArrayPtrFlat< CMsvMtmOperationQueue > iMtmOperationQueueArray

CArrayPtrFlat < CMsvMtmOperationQueue > iMtmOperationQueueArray [private]

CMtmRegistryControl * iMtmRegControl

CMtmRegistryControl * iMtmRegControl [private]

CMsvIndexContext * iNewContext

CMsvIndexContext * iNewContext [private]

CMsvNotifyDiskChange * iNotify

CMsvNotifyDiskChange * iNotify [private]

RArray< TMsvId > iProtectedFolders

RArray < TMsvId > iProtectedFolders [private]

TBool iReleasedForRestore

TBool iReleasedForRestore [private]

TBool iRemoteServicesProtected

TBool iRemoteServicesProtected [private]

CMSvSearchSortCacheManager * iSearchSortCacheManager

CMSvSearchSortCacheManager * iSearchSortCacheManager [private]

CServerMtmDllRegistry * iServerMtmReg

CServerMtmDllRegistry * iServerMtmReg [private]

TMsvServerStoreManager iServerStoreManager

TMsvServerStoreManager iServerStoreManager [private]

TInt iSessionNumber

TInt iSessionNumber [private]

TMsvServerChangeNotificationType iStartupState

TMsvServerChangeNotificationType iStartupState [private]

TBuf< 2 > iSystemDrive

TBuf < 2 > iSystemDrive [private]