RMsvServerSession Class Reference

class RMsvServerSession : public RSessionBase

Low level client-side API to access the message server.

It should not be used directly by client applications. They should use higher-level helper classes such as CMsvSession , CMsEntry, and CMsvStore . These helper classes access the message server through RMsvServerSession .

Inherits from

Public Member Functions
RMsvServerSession ()
~RMsvServerSession ()
IMPORT_C void AttachmentFilePathL ( TMsvId , TDes &)
IMPORT_C void BodyTextFilePathL ( TMsvId , TDes &)
IMPORT_C TInt CancelOperation ( TMsvOp , TDes8 &)
int CancelSearchSortOperation ( TMsvOp )
IMPORT_C TInt CancelSessionEventRequest ()
IMPORT_C void ChangeAttributesL (const CMsvEntrySelection &, TUint , TUint )
void ChangeDriveL ( TInt , TMsvOp , TRequestStatus &)
IMPORT_C void ChangeEntryL (const TMsvEntry &, TMsvOp , TSecureId )
IMPORT_C void ChangeEntryL (const TMsvEntry &, TMsvOp , TSecureId , TRequestStatus &)
IMPORT_C void CloseMessageServer ()
IMPORT_C TInt Connect ( RFs &)
IMPORT_C void CopyEntriesL (const CMsvEntrySelection &, TMsvId , TMsvOp )
IMPORT_C void CopyEntriesL (const CMsvEntrySelection &, TMsvId , TMsvOp , TRequestStatus &)
void CopyStoreL (const TDriveUnit &, TMsvOp , TRequestStatus &)
IMPORT_C TBool CreateAttachmentForWriteL ( TMsvId , TDes &, RFile &)
IMPORT_C void CreateEntryL (const TMsvEntry &, TMsvOp , TSecureId )
IMPORT_C void CreateEntryL (const TMsvEntry &, TMsvOp , TSecureId , TRequestStatus &)
IMPORT_C void CreatePlainTextFileL ( RFile &, TMsvId )
IMPORT_C TBool CreateShareProtectedAttachmentForWriteL ( TMsvId , TDes &, RFile &)
IMPORT_C TInt DeInstallMtmGroup (const TDesC &)
TInt DecStoreReaderCount ( TMsvId )
IMPORT_C TInt DeleteAttachment ( TMsvId , const TDesC &)
IMPORT_C void DeleteEntriesL (const CMsvEntrySelection &, TMsvOp )
IMPORT_C void DeleteEntriesL (const CMsvEntrySelection &, TMsvOp , TRequestStatus &)
IMPORT_C void DeleteFileStoreL ( TMsvId )
IMPORT_C void DeletePlainTextFileL ( TMsvId )
void DeleteStoreL (const TDriveUnit &, TMsvOp , TRequestStatus &)
TBool DriveContainsStoreL ( TDriveUnit )
IMPORT_C TBool FileExistsL (const TDesC &)
IMPORT_C TBool FileStoreExistsL ( TMsvId )
IMPORT_C TInt FillRegisteredMtmDllArray ( TUid , CRegisteredMtmDllArray &, TTimeIntervalMicroSeconds32 )
TBool GetAndClearIndexCorruptFlagL ()
IMPORT_C void GetChildIdsL ( TMsvId , const CMsvEntryFilter &, CMsvEntrySelection &)
IMPORT_C TInt GetChildren ( TMsvId , CArrayPtrFlat < CMsvClientEntry > &, const TMsvSelectionOrdering &)
IMPORT_C TInt GetEntry ( TMsvId , TMsvId &, TMsvEntry &)
IMPORT_C TInt GetMessageDirectory ( TDes &)
TInt GetMessageDrive ()
IMPORT_C CMtmGroupData * GetMtmGroupDataL ( TUid )
void GetMtmRequiredCapabilitiesL ( TUid , TCapabilitySet &)
void GetNextEntryL ( TMsvEntry &, TInt &)
void GetNextIdL ( TMsvId &, TInt &)
TInt GetNonOperationMtmData ( TMsvId , const TNonOperationMtmDataType &, TDes8 &)
void GetQueryFromServerL ( TMsvOp , TInt , CMsvSearchSortQuery *)
void GetResultAsIdL ( RArray < TMsvId > &)
void GetResultAsIdL ( RArray < TMsvId > &, TInt &)
void GetResultCountL ( TInt &)
void GetResultsForQueryId ( TInt &, TMsvOp , TInt , TRequestStatus &)
void GetSearchSortRequestQueryIdL ( TInt &)
IMPORT_C TInt InstallMtmGroup (const TDesC &)
IMPORT_C TInt LockEntry ( TMsvId )
IMPORT_C TInt LockStore ( TMsvId )
IMPORT_C TBool MessageStoreDrivePresentL ()
IMPORT_C void MoveEntriesL (const CMsvEntrySelection &, TMsvId , TMsvOp )
IMPORT_C void MoveEntriesL (const CMsvEntrySelection &, TMsvId , TMsvOp , TRequestStatus &)
TUint32 NotifySequenceL ()
IMPORT_C void OpenAttachmentForWriteL ( TMsvId , const TDesC &, RFile &)
IMPORT_C void OpenAttachmentL ( TMsvId , const TDesC &, RFile &)
IMPORT_C void OpenBodyTextFileForReadL ( RFile &, TMsvId , const TDesC &)
IMPORT_C TInt OpenFileStoreForRead ( TMsvId , RFile &)
IMPORT_C void OpenTempStoreFileL ( TMsvId , RFile &)
IMPORT_C TInt OperationCompletion ( TMsvOp , TDes8 &)
IMPORT_C TInt OperationMtmL ( TMsvId , TMsvId , TUid &, TMsvId &)
TInt OperationMtmL ( TMsvId , TUid &, TMsvId &)
IMPORT_C TInt OperationProgress ( TMsvOp , TDes8 &)
IMPORT_C TInt OperationSystemProgress ( TMsvOp , TMsvSystemProgress &)
TInt OutstandingOperationsL ()
IMPORT_C void QueueSessionEventRequest ( TDes8 &, TDes8 &, TRequestStatus &)
IMPORT_C TInt ReadStore ( TMsvId )
IMPORT_C TInt ReleaseEntry ( TMsvId )
IMPORT_C TInt ReleaseMtmGroup ( TUid )
IMPORT_C TInt ReleaseStore ( TMsvId )
IMPORT_C void RemoveEntry ( TMsvId )
IMPORT_C TInt RenameAttachment ( TMsvId , const TDesC &, const TDesC &)
IMPORT_C void ReplaceAttachmentForWriteL ( TMsvId , TDes &, RFile &)
IMPORT_C void ReplaceFileStoreL ( TMsvId )
IMPORT_C void ReplacePlainTextFileL ( TMsvId )
void SearchSortOperationProgressL ( TMsvOp , TInt )
void SearchSortRequestOnEntryL (const CMsvSearchSortQuery *, TMsvOp , TBool , TInt , TRequestStatus &)
void SearchSortRequestOnHeaderBodyL (const CMsvSearchSortQuery *, TMsvOp , TBool , TRequestStatus &)
void SendNewResultsToServerForSortL ( TMsvOp , RArray < TMsvId > &, TRequestStatus &)
void SendResultantListL ( TMsvOp , RArray < TMsvIdWithSortField >, TRequestStatus &)
IMPORT_C TBool ServiceActive ( TMsvId )
IMPORT_C TInt ServiceProgress ( TMsvId , TDes8 &)
IMPORT_C void SetFailure ( TInt , TInt , TInt , TInt )
IMPORT_C TInt SetReceiveEntryEvents ( TBool )
TInt SetSessionAsObserver ()
IMPORT_C TInt StopService ( TMsvId )
IMPORT_C void TransferCommandL (const CMsvEntrySelection &, TInt , const TDesC8 &, TMsvOp , TRequestStatus &)
IMPORT_C TInt TransferCommandL (const CMsvEntrySelection &, TInt , const TDesC8 &, TMsvOp )
void UnmarkSearchSortRequestQueryIdL ( TInt )
IMPORT_C TInt UseMtmGroup ( TUid )
IMPORT_C TVersion Version ()
Private Member Functions
void DoGetChildrenL ( TMsvId , CArrayPtrFlat < CMsvClientEntry > &, const TMsvSelectionOrdering &)
void DoGetRemainingChildrenL ( TPckgBuf < TMsvChildrenDetails > &, CArrayPtrFlat < CMsvClientEntry > &)
void PackEntryIntoBufferL (const TMsvEntry &)
void PackOperationDataL (const CMsvEntrySelection &, TInt , TInt )
void SendCommandDataL ( TMsvOp , const CMsvEntrySelection &, TInt , const TDesC8 &)
void SendEntryDataL ( TMsvOp , const TMsvEntry &)
void SendOperationDataL ( TMsvOp , const CMsvEntrySelection &, TInt , TInt )
void TestSlotAvailableL ()
Inherited Functions
RHandleBase::Attributes()const
RHandleBase::BTraceId()const
RHandleBase::Close()
RHandleBase::DoExtendedClose()
RHandleBase::Duplicate(const RThread &,TOwnerType)
RHandleBase::FullName()const
RHandleBase::FullName(TDes &)const
RHandleBase::Handle()const
RHandleBase::HandleInfo(THandleInfo *)
RHandleBase::Name()const
RHandleBase::NotifyDestruction(TRequestStatus &)
RHandleBase::Open(const TFindHandleBase &,TOwnerType)
RHandleBase::OpenByName(const TDesC &,TOwnerType,TInt)
RHandleBase::RHandleBase()
RHandleBase::RHandleBase(TInt)
RHandleBase::SetHandle(TInt)
RHandleBase::SetHandleNC(TInt)
RSessionBase::CreateSession(RServer2,const TVersion &)
RSessionBase::CreateSession(RServer2,const TVersion &,TInt)
RSessionBase::CreateSession(RServer2,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
RSessionBase::CreateSession(const TDesC &,const TVersion &)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TRequestStatus *)
RSessionBase::Open(RMessagePtr2,TInt,TOwnerType)
RSessionBase::Open(RMessagePtr2,TInt,const TSecurityPolicy &,TOwnerType)
RSessionBase::Open(TInt,TOwnerType)
RSessionBase::Open(TInt,const TSecurityPolicy &,TOwnerType)
RSessionBase::Send(TInt)const
RSessionBase::Send(TInt,const TIpcArgs &)const
RSessionBase::SendReceive(TInt)const
RSessionBase::SendReceive(TInt,TRequestStatus &)const
RSessionBase::SendReceive(TInt,const TIpcArgs &)const
RSessionBase::SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const
RSessionBase::SetReturnedHandle(TInt)
RSessionBase::SetReturnedHandle(TInt,RHandleBase &)
RSessionBase::SetReturnedHandle(TInt,const TSecurityPolicy &)
RSessionBase::ShareAuto()
RSessionBase::ShareProtected()
Inherited Enumerations
RHandleBase:TAttributes
RSessionBase:TAttachMode
Private Attributes
HBufC8 * iBuffer
Inherited Attributes
RHandleBase::iHandle

Constructor & Destructor Documentation

RMsvServerSession()

IMPORT_C RMsvServerSession ( )

~RMsvServerSession()

IMPORT_C ~RMsvServerSession ( ) [virtual]

Member Functions Documentation

AttachmentFilePathL(TMsvId, TDes &)

IMPORT_C void AttachmentFilePathL ( TMsvId aEntryId,
TDes & aFilePath
)

Parameters

TMsvId aEntryId
TDes & aFilePath

BodyTextFilePathL(TMsvId, TDes &)

IMPORT_C void BodyTextFilePathL ( TMsvId aBodyTextId,
TDes & aFilePath
)

Parameters

TMsvId aBodyTextId
TDes & aFilePath

CancelOperation(TMsvOp, TDes8 &)

IMPORT_C TInt CancelOperation ( TMsvOp aId,
TDes8 & aProgress
)

Parameters

TMsvOp aId
TDes8 & aProgress

CancelSearchSortOperation(TMsvOp)

int CancelSearchSortOperation ( TMsvOp aOperationId )

Parameters

TMsvOp aOperationId

CancelSessionEventRequest()

IMPORT_C TInt CancelSessionEventRequest ( )

ChangeAttributesL(const CMsvEntrySelection &, TUint, TUint)

IMPORT_C void ChangeAttributesL ( const CMsvEntrySelection & aSelection,
TUint aSetAttributes,
TUint aClearAttributes
)

Parameters

const CMsvEntrySelection & aSelection
TUint aSetAttributes
TUint aClearAttributes

ChangeDriveL(TInt, TMsvOp, TRequestStatus &)

void ChangeDriveL ( TInt aDrive,
TMsvOp aOperationId,
TRequestStatus & aRequestStatus
)

Parameters

TInt aDrive
TMsvOp aOperationId
TRequestStatus & aRequestStatus

ChangeEntryL(const TMsvEntry &, TMsvOp, TSecureId)

IMPORT_C void ChangeEntryL ( const TMsvEntry & aEntry,
TMsvOp aOperationId,
TSecureId aOwnerId
)

Parameters

const TMsvEntry & aEntry
TMsvOp aOperationId
TSecureId aOwnerId

ChangeEntryL(const TMsvEntry &, TMsvOp, TSecureId, TRequestStatus &)

IMPORT_C void ChangeEntryL ( const TMsvEntry & aEntry,
TMsvOp aOperationId,
TSecureId aOwnerId,
TRequestStatus & aRequestStatus
)

Parameters

const TMsvEntry & aEntry
TMsvOp aOperationId
TSecureId aOwnerId
TRequestStatus & aRequestStatus

CloseMessageServer()

IMPORT_C void CloseMessageServer ( )

Connect(RFs &)

IMPORT_C TInt Connect ( RFs & aFs )

Parameters

RFs & aFs

CopyEntriesL(const CMsvEntrySelection &, TMsvId, TMsvOp)

IMPORT_C void CopyEntriesL ( const CMsvEntrySelection & aSelection,
TMsvId aTarget,
TMsvOp aOperationId
)

Parameters

const CMsvEntrySelection & aSelection
TMsvId aTarget
TMsvOp aOperationId

CopyEntriesL(const CMsvEntrySelection &, TMsvId, TMsvOp, TRequestStatus &)

IMPORT_C void CopyEntriesL ( const CMsvEntrySelection & aSelection,
TMsvId aTarget,
TMsvOp aOperationId,
TRequestStatus & aRequestStatus
)

Parameters

const CMsvEntrySelection & aSelection
TMsvId aTarget
TMsvOp aOperationId
TRequestStatus & aRequestStatus

CopyStoreL(const TDriveUnit &, TMsvOp, TRequestStatus &)

void CopyStoreL ( const TDriveUnit & aDrive,
TMsvOp aOperationId,
TRequestStatus & aStatus
)

Parameters

const TDriveUnit & aDrive
TMsvOp aOperationId
TRequestStatus & aStatus

CreateAttachmentForWriteL(TMsvId, TDes &, RFile &)

IMPORT_C TBool CreateAttachmentForWriteL ( TMsvId aEntryId,
TDes & aFilename,
RFile & aFile
)

Parameters

TMsvId aEntryId
TDes & aFilename
RFile & aFile

CreateEntryL(const TMsvEntry &, TMsvOp, TSecureId)

IMPORT_C void CreateEntryL ( const TMsvEntry & aEntry,
TMsvOp aOperationId,
TSecureId aOwnerId
)

Parameters

const TMsvEntry & aEntry
TMsvOp aOperationId
TSecureId aOwnerId

CreateEntryL(const TMsvEntry &, TMsvOp, TSecureId, TRequestStatus &)

IMPORT_C void CreateEntryL ( const TMsvEntry & aEntry,
TMsvOp aOperationId,
TSecureId aOwnerId,
TRequestStatus & aRequestStatus
)

Parameters

const TMsvEntry & aEntry
TMsvOp aOperationId
TSecureId aOwnerId
TRequestStatus & aRequestStatus

CreatePlainTextFileL(RFile &, TMsvId)

IMPORT_C void CreatePlainTextFileL ( RFile & aFile,
TMsvId aBodyTextId
)

Parameters

RFile & aFile
TMsvId aBodyTextId

CreateShareProtectedAttachmentForWriteL(TMsvId, TDes &, RFile &)

IMPORT_C TBool CreateShareProtectedAttachmentForWriteL ( TMsvId aEntryId,
TDes & aFilename,
RFile & aFile
)

Parameters

TMsvId aEntryId
TDes & aFilename
RFile & aFile

DeInstallMtmGroup(const TDesC &)

IMPORT_C TInt DeInstallMtmGroup ( const TDesC & aFullName )

Parameters

const TDesC & aFullName

DecStoreReaderCount(TMsvId)

TInt DecStoreReaderCount ( TMsvId aId )

Parameters

TMsvId aId

DeleteAttachment(TMsvId, const TDesC &)

IMPORT_C TInt DeleteAttachment ( TMsvId aEntryId,
const TDesC & aFilePath
)

Parameters

TMsvId aEntryId
const TDesC & aFilePath

DeleteEntriesL(const CMsvEntrySelection &, TMsvOp)

IMPORT_C void DeleteEntriesL ( const CMsvEntrySelection & aSelection,
TMsvOp aOperationId
)

Parameters

const CMsvEntrySelection & aSelection
TMsvOp aOperationId

DeleteEntriesL(const CMsvEntrySelection &, TMsvOp, TRequestStatus &)

IMPORT_C void DeleteEntriesL ( const CMsvEntrySelection & aSelection,
TMsvOp aOperationId,
TRequestStatus & aRequestStatus
)

Parameters

const CMsvEntrySelection & aSelection
TMsvOp aOperationId
TRequestStatus & aRequestStatus

DeleteFileStoreL(TMsvId)

IMPORT_C void DeleteFileStoreL ( TMsvId aEntryId )

Parameters

TMsvId aEntryId

DeletePlainTextFileL(TMsvId)

IMPORT_C void DeletePlainTextFileL ( TMsvId aBodyTextId )

Parameters

TMsvId aBodyTextId

DeleteStoreL(const TDriveUnit &, TMsvOp, TRequestStatus &)

void DeleteStoreL ( const TDriveUnit & aDrive,
TMsvOp aOperationId,
TRequestStatus & aStatus
)

Parameters

const TDriveUnit & aDrive
TMsvOp aOperationId
TRequestStatus & aStatus

DoGetChildrenL(TMsvId, CArrayPtrFlat< CMsvClientEntry > &, const TMsvSelectionOrdering &)

void DoGetChildrenL ( TMsvId aId,
CArrayPtrFlat < CMsvClientEntry > & aEntries,
const TMsvSelectionOrdering & aOrdering
) [private]

Parameters

TMsvId aId
CArrayPtrFlat < CMsvClientEntry > & aEntries
const TMsvSelectionOrdering & aOrdering

DoGetRemainingChildrenL(TPckgBuf< TMsvChildrenDetails > &, CArrayPtrFlat< CMsvClientEntry > &)

void DoGetRemainingChildrenL ( TPckgBuf < TMsvChildrenDetails > & aDetails,
CArrayPtrFlat < CMsvClientEntry > & aEntries
) [private]

DriveContainsStoreL(TDriveUnit)

TBool DriveContainsStoreL ( TDriveUnit aDrive )

Parameters

TDriveUnit aDrive

FileExistsL(const TDesC &)

IMPORT_C TBool FileExistsL ( const TDesC & aFilePath )

Parameters

const TDesC & aFilePath

FileStoreExistsL(TMsvId)

IMPORT_C TBool FileStoreExistsL ( TMsvId aEntryId ) const

Parameters

TMsvId aEntryId

FillRegisteredMtmDllArray(TUid, CRegisteredMtmDllArray &, TTimeIntervalMicroSeconds32)

IMPORT_C TInt FillRegisteredMtmDllArray ( TUid aMtmDllTypeUid,
CRegisteredMtmDllArray & aRegisteredMtmDllArray,
TTimeIntervalMicroSeconds32 aTimeoutMicroSeconds32
)

Parameters

TUid aMtmDllTypeUid
CRegisteredMtmDllArray & aRegisteredMtmDllArray
TTimeIntervalMicroSeconds32 aTimeoutMicroSeconds32

GetAndClearIndexCorruptFlagL()

TBool GetAndClearIndexCorruptFlagL ( )

GetChildIdsL(TMsvId, const CMsvEntryFilter &, CMsvEntrySelection &)

IMPORT_C void GetChildIdsL ( TMsvId aId,
const CMsvEntryFilter & aFilter,
CMsvEntrySelection & aSelection
)

Parameters

TMsvId aId
const CMsvEntryFilter & aFilter
CMsvEntrySelection & aSelection

GetChildren(TMsvId, CArrayPtrFlat< CMsvClientEntry > &, const TMsvSelectionOrdering &)

IMPORT_C TInt GetChildren ( TMsvId aId,
CArrayPtrFlat < CMsvClientEntry > & aEntries,
const TMsvSelectionOrdering & aOrdering
)

Parameters

TMsvId aId
CArrayPtrFlat < CMsvClientEntry > & aEntries
const TMsvSelectionOrdering & aOrdering

GetEntry(TMsvId, TMsvId &, TMsvEntry &)

IMPORT_C TInt GetEntry ( TMsvId aId,
TMsvId & aService,
TMsvEntry & aEntry
)

Parameters

TMsvId aId
TMsvId & aService
TMsvEntry & aEntry

GetMessageDirectory(TDes &)

IMPORT_C TInt GetMessageDirectory ( TDes & aDirectory )

Parameters

TDes & aDirectory

GetMessageDrive()

TInt GetMessageDrive ( )

GetMtmGroupDataL(TUid)

IMPORT_C CMtmGroupData * GetMtmGroupDataL ( TUid aMtmTypeUid )

Parameters

TUid aMtmTypeUid

GetMtmRequiredCapabilitiesL(TUid, TCapabilitySet &)

void GetMtmRequiredCapabilitiesL ( TUid aMtmTypeUid,
TCapabilitySet & aCapSet
) const

Parameters

TUid aMtmTypeUid
TCapabilitySet & aCapSet

GetNextEntryL(TMsvEntry &, TInt &)

void GetNextEntryL ( TMsvEntry & aEntry,
TInt & aCount
)

Parameters

TMsvEntry & aEntry
TInt & aCount

GetNextIdL(TMsvId &, TInt &)

void GetNextIdL ( TMsvId & aId,
TInt & aCount
)

Parameters

TMsvId & aId
TInt & aCount

GetNonOperationMtmData(TMsvId, const TNonOperationMtmDataType &, TDes8 &)

TInt GetNonOperationMtmData ( TMsvId aServiceId,
const TNonOperationMtmDataType & aType,
TDes8 & aMtmData
)

Parameters

TMsvId aServiceId
const TNonOperationMtmDataType & aType
TDes8 & aMtmData

GetQueryFromServerL(TMsvOp, TInt, CMsvSearchSortQuery *)

void GetQueryFromServerL ( TMsvOp aOperationId,
TInt aQueryId,
CMsvSearchSortQuery * aQuery
)

Parameters

TMsvOp aOperationId
TInt aQueryId
CMsvSearchSortQuery * aQuery

GetResultAsIdL(RArray< TMsvId > &)

void GetResultAsIdL ( RArray < TMsvId > & aId )

Parameters

RArray < TMsvId > & aId

GetResultAsIdL(RArray< TMsvId > &, TInt &)

void GetResultAsIdL ( RArray < TMsvId > & aId,
TInt & aResultStatus
)

Parameters

RArray < TMsvId > & aId
TInt & aResultStatus

GetResultCountL(TInt &)

void GetResultCountL ( TInt & aCount )

Parameters

TInt & aCount

GetResultsForQueryId(TInt &, TMsvOp, TInt, TRequestStatus &)

void GetResultsForQueryId ( TInt & aQueryId,
TMsvOp aOperationId,
TInt aIterator,
TRequestStatus & aRequestStatus
)

Parameters

TInt & aQueryId
TMsvOp aOperationId
TInt aIterator
TRequestStatus & aRequestStatus

GetSearchSortRequestQueryIdL(TInt &)

void GetSearchSortRequestQueryIdL ( TInt & aQueryId )

Parameters

TInt & aQueryId

InstallMtmGroup(const TDesC &)

IMPORT_C TInt InstallMtmGroup ( const TDesC & aFullName )

Parameters

const TDesC & aFullName

LockEntry(TMsvId)

IMPORT_C TInt LockEntry ( TMsvId aId )

Parameters

TMsvId aId

LockStore(TMsvId)

IMPORT_C TInt LockStore ( TMsvId aId )

Parameters

TMsvId aId

MessageStoreDrivePresentL()

IMPORT_C TBool MessageStoreDrivePresentL ( )

MoveEntriesL(const CMsvEntrySelection &, TMsvId, TMsvOp)

IMPORT_C void MoveEntriesL ( const CMsvEntrySelection & aSelection,
TMsvId aTarget,
TMsvOp aOperationId
)

Parameters

const CMsvEntrySelection & aSelection
TMsvId aTarget
TMsvOp aOperationId

MoveEntriesL(const CMsvEntrySelection &, TMsvId, TMsvOp, TRequestStatus &)

IMPORT_C void MoveEntriesL ( const CMsvEntrySelection & aSelection,
TMsvId aTarget,
TMsvOp aOperationId,
TRequestStatus & aRequestStatus
)

Parameters

const CMsvEntrySelection & aSelection
TMsvId aTarget
TMsvOp aOperationId
TRequestStatus & aRequestStatus

NotifySequenceL()

TUint32 NotifySequenceL ( )

OpenAttachmentForWriteL(TMsvId, const TDesC &, RFile &)

IMPORT_C void OpenAttachmentForWriteL ( TMsvId aEntryId,
const TDesC & aFilePath,
RFile & aFile
)

Parameters

TMsvId aEntryId
const TDesC & aFilePath
RFile & aFile

OpenAttachmentL(TMsvId, const TDesC &, RFile &)

IMPORT_C void OpenAttachmentL ( TMsvId aEntryId,
const TDesC & aFilePath,
RFile & aFile
)

Parameters

TMsvId aEntryId
const TDesC & aFilePath
RFile & aFile

OpenBodyTextFileForReadL(RFile &, TMsvId, const TDesC &)

IMPORT_C void OpenBodyTextFileForReadL ( RFile & aFile,
TMsvId aBodyTextId,
const TDesC & aFilePath
)

Parameters

RFile & aFile
TMsvId aBodyTextId
const TDesC & aFilePath

OpenFileStoreForRead(TMsvId, RFile &)

IMPORT_C TInt OpenFileStoreForRead ( TMsvId aEntryId,
RFile & aFile
)

Parameters

TMsvId aEntryId
RFile & aFile

OpenTempStoreFileL(TMsvId, RFile &)

IMPORT_C void OpenTempStoreFileL ( TMsvId aEntryId,
RFile & aFile
)

Parameters

TMsvId aEntryId
RFile & aFile

OperationCompletion(TMsvOp, TDes8 &)

IMPORT_C TInt OperationCompletion ( TMsvOp aId,
TDes8 & aProgress
)

Parameters

TMsvOp aId
TDes8 & aProgress

OperationMtmL(TMsvId, TMsvId, TUid &, TMsvId &)

IMPORT_C TInt OperationMtmL ( TMsvId aId1,
TMsvId aId2,
TUid & aMtm,
TMsvId & aService
)

Parameters

TMsvId aId1
TMsvId aId2
TUid & aMtm
TMsvId & aService

OperationMtmL(TMsvId, TUid &, TMsvId &)

TInt OperationMtmL ( TMsvId aId1,
TUid & aMtm,
TMsvId & aService
) [inline]

Parameters

TMsvId aId1
TUid & aMtm
TMsvId & aService

OperationProgress(TMsvOp, TDes8 &)

IMPORT_C TInt OperationProgress ( TMsvOp aId,
TDes8 & aProgress
)

Parameters

TMsvOp aId
TDes8 & aProgress

OperationSystemProgress(TMsvOp, TMsvSystemProgress &)

IMPORT_C TInt OperationSystemProgress ( TMsvOp aId,
TMsvSystemProgress & aProgress
)

Parameters

TMsvOp aId
TMsvSystemProgress & aProgress

OutstandingOperationsL()

TInt OutstandingOperationsL ( )

PackEntryIntoBufferL(const TMsvEntry &)

void PackEntryIntoBufferL ( const TMsvEntry & aEntry ) [private]

Parameters

const TMsvEntry & aEntry

PackOperationDataL(const CMsvEntrySelection &, TInt, TInt)

void PackOperationDataL ( const CMsvEntrySelection & aSelection,
TInt aParameter1,
TInt aParameter2
) [private]

Parameters

const CMsvEntrySelection & aSelection
TInt aParameter1
TInt aParameter2

QueueSessionEventRequest(TDes8 &, TDes8 &, TRequestStatus &)

IMPORT_C void QueueSessionEventRequest ( TDes8 & aChange,
TDes8 & aSequence,
TRequestStatus & aRequestStatus
)

Parameters

TDes8 & aChange
TDes8 & aSequence
TRequestStatus & aRequestStatus

ReadStore(TMsvId)

IMPORT_C TInt ReadStore ( TMsvId aId )

Parameters

TMsvId aId

ReleaseEntry(TMsvId)

IMPORT_C TInt ReleaseEntry ( TMsvId aId )

Parameters

TMsvId aId

ReleaseMtmGroup(TUid)

IMPORT_C TInt ReleaseMtmGroup ( TUid aMtmTypeUid )

Parameters

TUid aMtmTypeUid

ReleaseStore(TMsvId)

IMPORT_C TInt ReleaseStore ( TMsvId aId )

Parameters

TMsvId aId

RemoveEntry(TMsvId)

IMPORT_C void RemoveEntry ( TMsvId aId )

Parameters

TMsvId aId

RenameAttachment(TMsvId, const TDesC &, const TDesC &)

IMPORT_C TInt RenameAttachment ( TMsvId aEntryId,
const TDesC & aOldFilePath,
const TDesC & aNewName
)

Parameters

TMsvId aEntryId
const TDesC & aOldFilePath
const TDesC & aNewName

ReplaceAttachmentForWriteL(TMsvId, TDes &, RFile &)

IMPORT_C void ReplaceAttachmentForWriteL ( TMsvId aEntryId,
TDes & aFilename,
RFile & aFile
)

Parameters

TMsvId aEntryId
TDes & aFilename
RFile & aFile

ReplaceFileStoreL(TMsvId)

IMPORT_C void ReplaceFileStoreL ( TMsvId aEntryId )

Parameters

TMsvId aEntryId

ReplacePlainTextFileL(TMsvId)

IMPORT_C void ReplacePlainTextFileL ( TMsvId aBodyTextId )

Parameters

TMsvId aBodyTextId

SearchSortOperationProgressL(TMsvOp, TInt)

void SearchSortOperationProgressL ( TMsvOp aOperationId,
TInt aOperationProgress
)

Parameters

TMsvOp aOperationId
TInt aOperationProgress

SearchSortRequestOnEntryL(const CMsvSearchSortQuery *, TMsvOp, TBool, TInt, TRequestStatus &)

void SearchSortRequestOnEntryL ( const CMsvSearchSortQuery * aQuery,
TMsvOp aOperationId,
TBool aMarkQuery,
TInt aIterator,
TRequestStatus & aRequestStatus
)

Parameters

const CMsvSearchSortQuery * aQuery
TMsvOp aOperationId
TBool aMarkQuery
TInt aIterator
TRequestStatus & aRequestStatus

SearchSortRequestOnHeaderBodyL(const CMsvSearchSortQuery *, TMsvOp, TBool, TRequestStatus &)

void SearchSortRequestOnHeaderBodyL ( const CMsvSearchSortQuery * aQuery,
TMsvOp aOperationId,
TBool aMarkQuery,
TRequestStatus & aRequestStatus
)

Parameters

const CMsvSearchSortQuery * aQuery
TMsvOp aOperationId
TBool aMarkQuery
TRequestStatus & aRequestStatus

SendCommandDataL(TMsvOp, const CMsvEntrySelection &, TInt, const TDesC8 &)

void SendCommandDataL ( TMsvOp aOperationId,
const CMsvEntrySelection & aSelection,
TInt aCommand,
const TDesC8 & aParameter
) [private]

Parameters

TMsvOp aOperationId
const CMsvEntrySelection & aSelection
TInt aCommand
const TDesC8 & aParameter

SendEntryDataL(TMsvOp, const TMsvEntry &)

void SendEntryDataL ( TMsvOp aOperationId,
const TMsvEntry & aEntry
) [private]

Parameters

TMsvOp aOperationId
const TMsvEntry & aEntry

SendNewResultsToServerForSortL(TMsvOp, RArray< TMsvId > &, TRequestStatus &)

void SendNewResultsToServerForSortL ( TMsvOp aOperationId,
RArray < TMsvId > & aIdArray,
TRequestStatus & aRequestStatus
)

Parameters

TMsvOp aOperationId
RArray < TMsvId > & aIdArray
TRequestStatus & aRequestStatus

SendOperationDataL(TMsvOp, const CMsvEntrySelection &, TInt, TInt)

void SendOperationDataL ( TMsvOp aOperationId,
const CMsvEntrySelection & aSelection,
TInt aParameter1 = 0,
TInt aParameter2 = 0
) [private]

Parameters

TMsvOp aOperationId
const CMsvEntrySelection & aSelection
TInt aParameter1 = 0
TInt aParameter2 = 0

SendResultantListL(TMsvOp, RArray< TMsvIdWithSortField >, TRequestStatus &)

void SendResultantListL ( TMsvOp aOperationId,
RArray < TMsvIdWithSortField > aTMsvIdWithSortField,
TRequestStatus & aRequestStatus
)

Parameters

TMsvOp aOperationId
RArray < TMsvIdWithSortField > aTMsvIdWithSortField
TRequestStatus & aRequestStatus

ServiceActive(TMsvId)

IMPORT_C TBool ServiceActive ( TMsvId aServiceId )

Parameters

TMsvId aServiceId

ServiceProgress(TMsvId, TDes8 &)

IMPORT_C TInt ServiceProgress ( TMsvId aServiceId,
TDes8 & aProgress
)

Parameters

TMsvId aServiceId
TDes8 & aProgress

SetFailure(TInt, TInt, TInt, TInt)

IMPORT_C void SetFailure ( TInt aType,
TInt aArg1 = 0,
TInt aArg2 = 0,
TInt aArg3 = 0
)

Parameters

TInt aType
TInt aArg1 = 0
TInt aArg2 = 0
TInt aArg3 = 0

SetReceiveEntryEvents(TBool)

IMPORT_C TInt SetReceiveEntryEvents ( TBool aReceive )

Parameters

TBool aReceive

SetSessionAsObserver()

TInt SetSessionAsObserver ( )

StopService(TMsvId)

IMPORT_C TInt StopService ( TMsvId aServiceId )

Parameters

TMsvId aServiceId

TestSlotAvailableL()

void TestSlotAvailableL ( ) [private]

TransferCommandL(const CMsvEntrySelection &, TInt, const TDesC8 &, TMsvOp, TRequestStatus &)

IMPORT_C void TransferCommandL ( const CMsvEntrySelection & aSelection,
TInt aCommandId,
const TDesC8 & aParameter,
TMsvOp aOperationId,
TRequestStatus & aStatus
)

Parameters

const CMsvEntrySelection & aSelection
TInt aCommandId
const TDesC8 & aParameter
TMsvOp aOperationId
TRequestStatus & aStatus

TransferCommandL(const CMsvEntrySelection &, TInt, const TDesC8 &, TMsvOp)

IMPORT_C TInt TransferCommandL ( const CMsvEntrySelection & aSelection,
TInt aCommandId,
const TDesC8 & aParameter,
TMsvOp aOperationId
)

Parameters

const CMsvEntrySelection & aSelection
TInt aCommandId
const TDesC8 & aParameter
TMsvOp aOperationId

UnmarkSearchSortRequestQueryIdL(TInt)

void UnmarkSearchSortRequestQueryIdL ( TInt aQueryId )

Parameters

TInt aQueryId

UseMtmGroup(TUid)

IMPORT_C TInt UseMtmGroup ( TUid aMtmTypeUid )

Parameters

TUid aMtmTypeUid

Version()

IMPORT_C TVersion Version ( ) const

Member Data Documentation

HBufC8 * iBuffer

HBufC8 * iBuffer [private]