CMsvServer Class Reference

class CMsvServer : public CPolicyServer

Inherits from

Public Member Functions
~CMsvServer()
TInt AddEntry(TMsvEntry &, TSecureId, TBool, TBool)
TInt AddEntry(CMsvIndexContext *const &, TMsvEntry &, TSecureId, TBool, TBool)
voidAttemptDelayedUpdating()
IMPORT_C TIntChangeDrive(TInt, TRequestStatus *)
TInt ChangeEntry(const TMsvEntry &, TSecureId, TBool, TBool)
voidCheckAndClose()
TInt CheckEntries(const CMsvEntrySelection &)
TInt CheckEntries(const CMsvEntrySelection &, TInt, TInt)
voidCloseServer(const RMessage2 &)
voidClosingSession(TInt)
voidCompleteBulkTransaction(void)
CMsvIndexContext &Context()
IMPORT_C TIntCopyStore(const TDriveUnit &, TRequestStatus *)
IMPORT_C voidCreateIndexL(TBool)
voidCreateSearchSortCacheL()
voidCurrentConfigL(RFs &, TMsvConfig &)
TInt DeInstallMtmGroup(const TDesC &, TUid &)
CMsvTimer &Delay()
voidDeleteNewContext()
IMPORT_C TIntDeleteStore(const TDriveUnit &, TRequestStatus *)
const TDriveUnit &Drive()
RFs &FileSession()
TInt FillRegisteredMtmDllArray(TUid, CRegisteredMtmDllArray &)
TInt GetAndMakeFileDirectory(TMsvId, TDes &)
voidGetCapsEntryCreateModifyL(const RMessage2 &, TMsvId, TUid, TSecureId, TBool, TBool, TCapabilitySet &)
voidGetCapsForMtmL(TUid, TCapabilitySet &)
TInt GetEntryName(TMsvId, TDes &, TBool)
TInt GetFileDirectoryListing(TMsvId, TDes &, CDir *&)
CMtmGroupData *GetMtmGroupDataL(TUid)
voidGetMtmRequiredCapabilitiesL(TUid, TCapabilitySet &)
voidGetNonOperationMtmDataL(TMsvId, TNonOperationMtmDataType, TPtrC8 &)
TBool HasContext()
const CMsvIndexAdapter &IndexAdapter()
CMsvIndexAdapter &IndexAdapter()
TInt InstallMtmGroup(const TDesC &, TUid &)
voidLog(TRefByValue< const TDesC >, ...)
voidMailinitFinished(TInt, TDriveNumber)
MRegisteredMtmDllObserver &MtmObserver()
CMsvIndexContext *NewContext()
IMPORT_C CMsvServer *NewL()
CMsvServer *NewL(TBool)
CSession2 *NewSessionL(const TVersion &, const RMessage2 &)
voidNotifyChanged(TMsvServerChangeNotificationType, const CMsvEntrySelection &, TInt, TInt)
voidNotifyChanged(TMsvServerChangeNotificationType, TMsvId, TInt, TInt)
voidNotifyChanged(TMsvServerChangeNotificationType, TUid)
voidNotifyChangedBulkL()
voidOperationCancelled(const CMsvMtmOperation &)
voidOperationCompleted(TMsvId, TMsvOp)
TInt OutstandingOperations()
voidPoliceCopyEntriesL(const RMessage2 &, const CMsvEntrySelection &, TMsvId, TBool &, const char *)
voidPoliceCopyMoveUnderOutboxL(const RMessage2 &, const CMsvEntrySelection &, const char *)
voidPoliceCreateEntryL(const RMessage2 &, TMsvEntry, TBool &, const char *)
voidPoliceCreateModifyEntryL(const RMessage2 &, CMsvIndexAdapter::TMsvServerEntryInfo, TBool, TBool &, const char *)
voidPoliceModifyEntryL(const RMessage2 &, TMsvEntry, TBool &, const char *)
voidPoliceModifyEntryL(const RMessage2 &, TMsvId, TBool &, const char *)
voidPoliceModifyEntryL(const RMessage2 &, TMsvId, const char *)
voidPoliceMoveEntriesL(const RMessage2 &, const CMsvEntrySelection &, TMsvId, TMsvId, TBool &, TBool &, const char *)
voidPoliceMtmTransferCommandL(const RMessage2 &, TUid, const char *)
voidPoliceReadEntryL(const RMessage2 &, TSecureId, const char *)
voidPoliceReadEntryL(const RMessage2 &, TMsvId, const char *)
voidPoliceSearchSortQueryReadRequestL(const RMessage2 &, const char *)
voidPoliceStopServiceL(const RMessage2 &, TUid, const char *)
TBool ProtectedFolder(TMsvId)
TBool ProtectedRemoteServices()
voidQueueNotifyChanged(TMsvServerChangeNotificationType)
const CServerMtmDllRegistry &Registry()
voidRemoveEntry(TMsvId)
TMsvServerStoreManager &ServerStoreManager()
voidServiceActive(const RMessage2 &)
const TDesC8 &ServiceProgressL(TMsvId)
TInt SessionId()
voidSetFailure(TMsvFailure, TInt, TInt, TInt)
voidSetStartupState(TMsvServerChangeNotificationType)
voidStartOperationL(CMsvMtmOperation &, TInt, const RMessage2 &, TBool)
TMsvServerChangeNotificationType StartupState()
voidStopServiceL(const RMessage2 &)
Private Member Functions
CMsvServer(TInt, TBool)
voidAddSessionIdToQueueL(CMsvMtmOperationQueue &, TInt)
voidBuildDefaultIniFileL(TMsvConfig &)
TInt CheckMtmStatus(TMsvId, TBool &)
voidConstructL()
voidContextComplete(TInt, TBool)
voidCreateIndexFromResources()
voidCreateLogL()
voidCreateRegistriesL()
TBool DiskChanged(const TDriveUnit &, TUint)
TBool DiskInserted(const TDriveUnit &)
TBool DiskRemoved(const TDriveUnit &)
voidDoChangeDriveL(TInt, TRequestStatus *)
CSession2 *DoNewSessionL(const RMessage2 &)
voidDoNotify(TMsvServerChangeNotificationType, TBool)
voidDoNotifyChangedBulkL(TMsvServerChangeNotificationType, const CMsvEntrySelection &)
voidDoRemoveEntriesL(TMsvId)
TInt GetEntryName(const CMsvIndexContext &, TMsvId, TDes &, TBool)
CBaseServerMtm *LoadMtmL(const CMsvMtmOperation &)
voidQueueOperationL(CMsvMtmOperation &, TInt)
voidRunMailInitExe()
TBool SessionIdInQueue(CMsvMtmOperationQueue &, TInt)
voidStartNextOperation(CMsvMtmOperationQueue *, TInt)
voidStartObserverExes()
voidSuspendSendingMessagesL()
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(TIntaPriority,
TBoolaDebug
)[private]

Parameters

TInt aPriority
TBool aDebug

~CMsvServer()

~CMsvServer()

Member Functions Documentation

AddEntry(TMsvEntry &, TSecureId, TBool, TBool)

TInt AddEntry(TMsvEntry &aEntry,
TSecureIdaOwnerId,
TBoolaAutoAssignId,
TBoolaBulk = 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,
TSecureIdaOwnerId,
TBoolaAutoAssignId,
TBoolaBulk = EFalse
)

Parameters

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

AddSessionIdToQueueL(CMsvMtmOperationQueue &, TInt)

voidAddSessionIdToQueueL(CMsvMtmOperationQueue &aQueue,
TIntaSessionId
)[private, inline]

Parameters

CMsvMtmOperationQueue & aQueue
TInt aSessionId

AttemptDelayedUpdating()

voidAttemptDelayedUpdating()

BuildDefaultIniFileL(TMsvConfig &)

voidBuildDefaultIniFileL(TMsvConfig &aConfig)[private, static]

Parameters

TMsvConfig & aConfig

ChangeDrive(TInt, TRequestStatus *)

IMPORT_C TIntChangeDrive(TIntaDrive,
TRequestStatus *aStatus
)

Parameters

TInt aDrive
TRequestStatus * aStatus

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

TInt ChangeEntry(const TMsvEntry &aEntry,
TSecureIdaOwnerId,
TBoolaForcedUpdate,
TBoolaBulk = EFalse
)

Parameters

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

CheckAndClose()

voidCheckAndClose()

CheckEntries(const CMsvEntrySelection &)

TInt CheckEntries(const CMsvEntrySelection &aEntries)[inline]

Parameters

const CMsvEntrySelection & aEntries

CheckEntries(const CMsvEntrySelection &, TInt, TInt)

TInt CheckEntries(const CMsvEntrySelection &aEntries,
TIntaStartIndex,
TIntaEndIndex
)

Parameters

const CMsvEntrySelection & aEntries
TInt aStartIndex
TInt aEndIndex

CheckMtmStatus(TMsvId, TBool &)

TInt CheckMtmStatus(TMsvIdaServiceId,
TBool &aRunning
)[private]

Parameters

TMsvId aServiceId
TBool & aRunning

CloseServer(const RMessage2 &)

voidCloseServer(const RMessage2 &aMessage)

Parameters

const RMessage2 & aMessage

ClosingSession(TInt)

voidClosingSession(TIntaSessionId)

Parameters

TInt aSessionId

CompleteBulkTransaction(void)

voidCompleteBulkTransaction(void)

Parameters

void

ConstructL()

voidConstructL()[private]

Context()

CMsvIndexContext &Context()const [inline]

ContextComplete(TInt, TBool)

voidContextComplete(TIntaError,
TBoolaRunMailInit
)[private]

Parameters

TInt aError
TBool aRunMailInit

CopyStore(const TDriveUnit &, TRequestStatus *)

IMPORT_C TIntCopyStore(const TDriveUnit &aDrive,
TRequestStatus *aStatus
)

Parameters

const TDriveUnit & aDrive
TRequestStatus * aStatus

CreateIndexFromResources()

voidCreateIndexFromResources()[private]

CreateIndexL(TBool)

IMPORT_C voidCreateIndexL(TBoolaSync = EFalse)

Parameters

TBool aSync = EFalse

CreateLogL()

voidCreateLogL()[private]

CreateRegistriesL()

voidCreateRegistriesL()[private]

CreateSearchSortCacheL()

voidCreateSearchSortCacheL()

CurrentConfigL(RFs &, TMsvConfig &)

voidCurrentConfigL(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()

voidDeleteNewContext()[inline]

DeleteStore(const TDriveUnit &, TRequestStatus *)

IMPORT_C TIntDeleteStore(const TDriveUnit &aDrive,
TRequestStatus *aStatus
)

Parameters

const TDriveUnit & aDrive
TRequestStatus * aStatus

DiskChanged(const TDriveUnit &, TUint)

TBool DiskChanged(const TDriveUnit &aDrive,
TUintaUniqueId
)[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 *)

voidDoChangeDriveL(TIntaDrive,
TRequestStatus *aStatus
)[private]

Parameters

TInt aDrive
TRequestStatus * aStatus

DoNewSessionL(const RMessage2 &)

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

Parameters

const RMessage2 & aMessage

DoNotify(TMsvServerChangeNotificationType, TBool)

voidDoNotify(TMsvServerChangeNotificationTypeaChangeType,
TBoolaQueue = EFalse
)[private]

Parameters

TMsvServerChangeNotificationType aChangeType
TBool aQueue = EFalse

DoNotifyChangedBulkL(TMsvServerChangeNotificationType, const CMsvEntrySelection &)

voidDoNotifyChangedBulkL(TMsvServerChangeNotificationTypeaChangeType,
const CMsvEntrySelection &aEntriesToNotify
)[private]

Parameters

TMsvServerChangeNotificationType aChangeType
const CMsvEntrySelection & aEntriesToNotify

DoRemoveEntriesL(TMsvId)

voidDoRemoveEntriesL(TMsvIdaId)[private]

Parameters

TMsvId aId

Drive()

const TDriveUnit &Drive()const

FileSession()

RFs &FileSession()[inline]

FillRegisteredMtmDllArray(TUid, CRegisteredMtmDllArray &)

TInt FillRegisteredMtmDllArray(TUidaMtmDllTypeUid,
CRegisteredMtmDllArray &aRegisteredMtmDllArray
)

Parameters

TUid aMtmDllTypeUid
CRegisteredMtmDllArray & aRegisteredMtmDllArray

GetAndMakeFileDirectory(TMsvId, TDes &)

TInt GetAndMakeFileDirectory(TMsvIdaId,
TDes &aDirectory
)

Parameters

TMsvId aId
TDes & aDirectory

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

voidGetCapsEntryCreateModifyL(const RMessage2 &aMsg,
TMsvIdaFolder,
TUidaMtm,
TSecureIdaOwnerId,
TBoolaCreateEntry,
TBoolaLocal,
TCapabilitySet &aCaps
)

Parameters

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

GetCapsForMtmL(TUid, TCapabilitySet &)

voidGetCapsForMtmL(TUidaMtm,
TCapabilitySet &aCaps
)

Parameters

TUid aMtm
TCapabilitySet & aCaps

GetEntryName(TMsvId, TDes &, TBool)

TInt GetEntryName(TMsvIdaId,
TDes &aFileName,
TBoolaFolderRequired
)

Parameters

TMsvId aId
TDes & aFileName
TBool aFolderRequired

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

TInt GetEntryName(const CMsvIndexContext &aContext,
TMsvIdaId,
TDes &aFileName,
TBoolaFolderRequired
)[private]

Parameters

const CMsvIndexContext & aContext
TMsvId aId
TDes & aFileName
TBool aFolderRequired

GetFileDirectoryListing(TMsvId, TDes &, CDir *&)

TInt GetFileDirectoryListing(TMsvIdaId,
TDes &aDirectory,
CDir *&aDir
)

Parameters

TMsvId aId
TDes & aDirectory
CDir *& aDir

GetMtmGroupDataL(TUid)

CMtmGroupData *GetMtmGroupDataL(TUidaMtmTypeUid)const

Parameters

TUid aMtmTypeUid

GetMtmRequiredCapabilitiesL(TUid, TCapabilitySet &)

voidGetMtmRequiredCapabilitiesL(TUidaMtmTypeUid,
TCapabilitySet &aCaps
)const

Parameters

TUid aMtmTypeUid
TCapabilitySet & aCaps

GetNonOperationMtmDataL(TMsvId, TNonOperationMtmDataType, TPtrC8 &)

voidGetNonOperationMtmDataL(TMsvIdaServiceId,
TNonOperationMtmDataTypeaMtmDataType,
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 >, ...)

voidLog(TRefByValue< const TDesC >aFmt,
...
)

Parameters

TRefByValue< const TDesC > aFmt
...

MailinitFinished(TInt, TDriveNumber)

voidMailinitFinished(TIntaError,
TDriveNumberaDriveNum
)

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(TBoolaDebug)[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 & aVersionThe version information supplied by the client.
const RMessage2 & aMessageRepresents the details of the client request that is requesting the creation of the session.

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

voidNotifyChanged(TMsvServerChangeNotificationTypeaChangeType,
const CMsvEntrySelection &aSelection,
TIntaParameter1 = 0,
TIntaParameter2 = 0
)

Parameters

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

NotifyChanged(TMsvServerChangeNotificationType, TMsvId, TInt, TInt)

voidNotifyChanged(TMsvServerChangeNotificationTypeaChangeType,
TMsvIdaId =  KMsvNullIndexEntryId ,
TIntaParameter1 = 0,
TIntaParameter2 = 0
)

Parameters

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

NotifyChanged(TMsvServerChangeNotificationType, TUid)

voidNotifyChanged(TMsvServerChangeNotificationTypeaChangeType,
TUidaMtmTypeUid
)

Parameters

TMsvServerChangeNotificationType aChangeType
TUid aMtmTypeUid

NotifyChangedBulkL()

voidNotifyChangedBulkL()

OperationCancelled(const CMsvMtmOperation &)

voidOperationCancelled(const CMsvMtmOperation &aOperation)

Parameters

const CMsvMtmOperation & aOperation

OperationCompleted(TMsvId, TMsvOp)

voidOperationCompleted(TMsvIdaServiceId,
TMsvOpaOpId
)

Parameters

TMsvId aServiceId
TMsvOp aOpId

OutstandingOperations()

TInt OutstandingOperations()

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

voidPoliceCopyEntriesL(const RMessage2 &aMsg,
const CMsvEntrySelection &aSelection,
TMsvIdaTarget,
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 *)

voidPoliceCopyMoveUnderOutboxL(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 *)

voidPoliceCreateEntryL(const RMessage2 &aMsg,
TMsvEntryaEntry,
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 *)

voidPoliceCreateModifyEntryL(const RMessage2 &aMsg,
CMsvIndexAdapter::TMsvServerEntryInfoaEntryInfo,
TBoolaCreate,
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 *)

voidPoliceModifyEntryL(const RMessage2 &aMsg,
TMsvEntryaEntry,
TBool &aIsLocal,
const char *aContextText
)

Parameters

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

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

voidPoliceModifyEntryL(const RMessage2 &aMsg,
TMsvIdaId,
TBool &aIsLocal,
const char *aContextText
)

Parameters

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

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

voidPoliceModifyEntryL(const RMessage2 &aMsg,
TMsvIdaId,
const char *aContextText
)

Parameters

const RMessage2 & aMsg
TMsvId aId
const char * aContextText

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

voidPoliceMoveEntriesL(const RMessage2 &aMsg,
const CMsvEntrySelection &aSelection,
TMsvIdaTarget,
TMsvIdaSource,
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 *)

voidPoliceMtmTransferCommandL(const RMessage2 &aMsg,
TUidaMtm,
const char *aContextText
)

Parameters

const RMessage2 & aMsg
TUid aMtm
const char * aContextText

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

voidPoliceReadEntryL(const RMessage2 &aMsg,
TSecureIdaOwnerId,
const char *aContextText
)

Parameters

const RMessage2 & aMsg
TSecureId aOwnerId
const char * aContextText

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

voidPoliceReadEntryL(const RMessage2 &aMsg,
TMsvIdaId,
const char *aContextText
)

Parameters

const RMessage2 & aMsg
TMsvId aId
const char * aContextText

PoliceSearchSortQueryReadRequestL(const RMessage2 &, const char *)

voidPoliceSearchSortQueryReadRequestL(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 *)

voidPoliceStopServiceL(const RMessage2 &aMsg,
TUidaMtm,
const char *aContextText
)

Parameters

const RMessage2 & aMsg
TUid aMtm
const char * aContextText

ProtectedFolder(TMsvId)

TBool ProtectedFolder(TMsvIdaFolder)const

Parameters

TMsvId aFolder

ProtectedRemoteServices()

TBool ProtectedRemoteServices()const

QueueNotifyChanged(TMsvServerChangeNotificationType)

voidQueueNotifyChanged(TMsvServerChangeNotificationTypeaChangeType)

Parameters

TMsvServerChangeNotificationType aChangeType

QueueOperationL(CMsvMtmOperation &, TInt)

voidQueueOperationL(CMsvMtmOperation &aOperation,
TIntaSessionId
)[private]

Parameters

CMsvMtmOperation & aOperation
TInt aSessionId

Registry()

const CServerMtmDllRegistry &Registry()const [inline]

RemoveEntry(TMsvId)

voidRemoveEntry(TMsvIdaId)

Parameters

TMsvId aId

RunMailInitExe()

voidRunMailInitExe()[private]

ServerStoreManager()

TMsvServerStoreManager &ServerStoreManager()

ServiceActive(const RMessage2 &)

voidServiceActive(const RMessage2 &aMessage)

Parameters

const RMessage2 & aMessage

ServiceProgressL(TMsvId)

const TDesC8 &ServiceProgressL(TMsvIdaServcieId)

Parameters

TMsvId aServcieId

SessionId()

TInt SessionId()[inline]

SessionIdInQueue(CMsvMtmOperationQueue &, TInt)

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

Parameters

CMsvMtmOperationQueue & aQueue
TInt aSessionId

SetFailure(TMsvFailure, TInt, TInt, TInt)

voidSetFailure(TMsvFailureaType,
TIntaArg1,
TIntaArg2,
TInt
)

Parameters

TMsvFailure aType
TInt aArg1
TInt aArg2
TInt

SetStartupState(TMsvServerChangeNotificationType)

voidSetStartupState(TMsvServerChangeNotificationTypeaState)

StartNextOperation(CMsvMtmOperationQueue *, TInt)

voidStartNextOperation(CMsvMtmOperationQueue *aQueue,
TIntaQueueIndex
)[private]

Parameters

CMsvMtmOperationQueue * aQueue
TInt aQueueIndex

StartObserverExes()

voidStartObserverExes()[private]

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

voidStartOperationL(CMsvMtmOperation &aOperation,
TIntaSessionId,
const RMessage2 &aMessage,
TBoolaHasCapability
)

Parameters

CMsvMtmOperation & aOperation
TInt aSessionId
const RMessage2 & aMessage
TBool aHasCapability

StartupState()

TMsvServerChangeNotificationType StartupState()const [inline]

StopServiceL(const RMessage2 &)

voidStopServiceL(const RMessage2 &aMessage)

Parameters

const RMessage2 & aMessage

SuspendSendingMessagesL()

voidSuspendSendingMessagesL()[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]