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.
Private Member Functions | |
---|---|
void | DoGetChildrenL(TMsvId, CArrayPtrFlat< CMsvClientEntry > &, const TMsvSelectionOrdering &) |
void | DoGetEntryL(TMsvId, TMsvId &, TMsvEntry &) |
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 Enumerations | |
---|---|
RHandleBase:TAttributes | |
RSessionBase:TAttachMode |
Private Attributes | |
---|---|
HBufC8 * | iBuffer |
Inherited Attributes | |
---|---|
RHandleBase::iHandle |
IMPORT_C void | AttachmentFilePathL | ( | TMsvId | aEntryId, |
TDes & | aFilePath | |||
) |
IMPORT_C void | BodyTextFilePathL | ( | TMsvId | aBodyTextId, |
TDes & | aFilePath | |||
) |
int | CancelSearchSortOperation | ( | TMsvOp | aOperationId | ) |
TMsvOp aOperationId |
IMPORT_C void | ChangeAttributesL | ( | const CMsvEntrySelection & | aSelection, |
TUint | aSetAttributes, | |||
TUint | aClearAttributes | |||
) |
const CMsvEntrySelection & aSelection | |
TUint aSetAttributes | |
TUint aClearAttributes |
void | ChangeDriveL | ( | TInt | aDrive, |
TMsvOp | aOperationId, | |||
TRequestStatus & | aRequestStatus | |||
) |
TInt aDrive | |
TMsvOp aOperationId | |
TRequestStatus & aRequestStatus |
IMPORT_C void | ChangeEntryL | ( | const TMsvEntry & | aEntry, |
TMsvOp | aOperationId, | |||
TSecureId | aOwnerId | |||
) |
IMPORT_C void | ChangeEntryL | ( | const TMsvEntry & | aEntry, |
TMsvOp | aOperationId, | |||
TSecureId | aOwnerId, | |||
TRequestStatus & | aRequestStatus | |||
) |
const TMsvEntry & aEntry | |
TMsvOp aOperationId | |
TSecureId aOwnerId | |
TRequestStatus & aRequestStatus |
IMPORT_C void | CopyEntriesL | ( | const CMsvEntrySelection & | aSelection, |
TMsvId | aTarget, | |||
TMsvOp | aOperationId | |||
) |
const CMsvEntrySelection & aSelection | |
TMsvId aTarget | |
TMsvOp aOperationId |
IMPORT_C void | CopyEntriesL | ( | const CMsvEntrySelection & | aSelection, |
TMsvId | aTarget, | |||
TMsvOp | aOperationId, | |||
TRequestStatus & | aRequestStatus | |||
) |
const CMsvEntrySelection & aSelection | |
TMsvId aTarget | |
TMsvOp aOperationId | |
TRequestStatus & aRequestStatus |
void | CopyStoreL | ( | const TDriveUnit & | aDrive, |
TMsvOp | aOperationId, | |||
TRequestStatus & | aStatus | |||
) |
const TDriveUnit & aDrive | |
TMsvOp aOperationId | |
TRequestStatus & aStatus |
IMPORT_C TBool | CreateAttachmentForWriteL | ( | TMsvId | aEntryId, |
TDes & | aFilename, | |||
RFile & | aFile | |||
) |
IMPORT_C void | CreateEntryL | ( | const TMsvEntry & | aEntry, |
TMsvOp | aOperationId, | |||
TSecureId | aOwnerId | |||
) |
IMPORT_C void | CreateEntryL | ( | const TMsvEntry & | aEntry, |
TMsvOp | aOperationId, | |||
TSecureId | aOwnerId, | |||
TRequestStatus & | aRequestStatus | |||
) |
const TMsvEntry & aEntry | |
TMsvOp aOperationId | |
TSecureId aOwnerId | |
TRequestStatus & aRequestStatus |
IMPORT_C void | CreatePlainTextFileL | ( | RFile & | aFile, |
TMsvId | aBodyTextId | |||
) |
IMPORT_C TBool | CreateShareProtectedAttachmentForWriteL | ( | TMsvId | aEntryId, |
TDes & | aFilename, | |||
RFile & | aFile | |||
) |
IMPORT_C TInt | DeInstallMtmGroup | ( | const TDesC & | aFullName | ) |
const TDesC & aFullName |
IMPORT_C TInt | DeleteAttachment | ( | TMsvId | aEntryId, |
const TDesC & | aFilePath | |||
) |
IMPORT_C void | DeleteEntriesL | ( | const CMsvEntrySelection & | aSelection, |
TMsvOp | aOperationId | |||
) |
const CMsvEntrySelection & aSelection | |
TMsvOp aOperationId |
IMPORT_C void | DeleteEntriesL | ( | const CMsvEntrySelection & | aSelection, |
TMsvOp | aOperationId, | |||
TRequestStatus & | aRequestStatus | |||
) |
const CMsvEntrySelection & aSelection | |
TMsvOp aOperationId | |
TRequestStatus & aRequestStatus |
IMPORT_C void | DeletePlainTextFileL | ( | TMsvId | aBodyTextId | ) |
TMsvId aBodyTextId |
void | DeleteStoreL | ( | const TDriveUnit & | aDrive, |
TMsvOp | aOperationId, | |||
TRequestStatus & | aStatus | |||
) |
const TDriveUnit & aDrive | |
TMsvOp aOperationId | |
TRequestStatus & aStatus |
void | DoGetChildrenL | ( | TMsvId | aId, |
CArrayPtrFlat< CMsvClientEntry > & | aEntries, | |||
const TMsvSelectionOrdering & | aOrdering | |||
) | [private] |
TMsvId aId | |
CArrayPtrFlat< CMsvClientEntry > & aEntries | |
const TMsvSelectionOrdering & aOrdering |
void | DoGetEntryL | ( | TMsvId | aId, |
TMsvId & | aService, | |||
TMsvEntry & | aEntry | |||
) | [private] |
void | DoGetRemainingChildrenL | ( | TPckgBuf< TMsvChildrenDetails > & | aDetails, |
CArrayPtrFlat< CMsvClientEntry > & | aEntries | |||
) | [private] |
TPckgBuf< TMsvChildrenDetails > & aDetails | |
CArrayPtrFlat< CMsvClientEntry > & aEntries |
TBool | DriveContainsStoreL | ( | TDriveUnit | aDrive | ) |
TDriveUnit aDrive |
IMPORT_C TBool | FileExistsL | ( | const TDesC & | aFilePath | ) |
const TDesC & aFilePath |
IMPORT_C TBool | FileStoreExistsL | ( | TMsvId | aEntryId | ) | const |
TMsvId aEntryId |
IMPORT_C TInt | FillRegisteredMtmDllArray | ( | TUid | aMtmDllTypeUid, |
CRegisteredMtmDllArray & | aRegisteredMtmDllArray, | |||
TTimeIntervalMicroSeconds32 | aTimeoutMicroSeconds32 | |||
) |
TUid aMtmDllTypeUid | |
CRegisteredMtmDllArray & aRegisteredMtmDllArray | |
TTimeIntervalMicroSeconds32 aTimeoutMicroSeconds32 |
IMPORT_C void | GetChildIdsL | ( | TMsvId | aId, |
const CMsvEntryFilter & | aFilter, | |||
CMsvEntrySelection & | aSelection | |||
) |
TMsvId aId | |
const CMsvEntryFilter & aFilter | |
CMsvEntrySelection & aSelection |
IMPORT_C TInt | GetChildren | ( | TMsvId | aId, |
CArrayPtrFlat< CMsvClientEntry > & | aEntries, | |||
const TMsvSelectionOrdering & | aOrdering | |||
) |
TMsvId aId | |
CArrayPtrFlat< CMsvClientEntry > & aEntries | |
const TMsvSelectionOrdering & aOrdering |
IMPORT_C TInt | GetEntry | ( | TMsvId | aId, |
TMsvId & | aService, | |||
TMsvEntry & | aEntry | |||
) |
IMPORT_C TInt | GetMessageDirectory | ( | TDes & | aDirectory | ) |
TDes & aDirectory |
IMPORT_C CMtmGroupData * | GetMtmGroupDataL | ( | TUid | aMtmTypeUid | ) |
TUid aMtmTypeUid |
void | GetMtmRequiredCapabilitiesL | ( | TUid | aMtmTypeUid, |
TCapabilitySet & | aCapSet | |||
) | const |
TUid aMtmTypeUid | |
TCapabilitySet & aCapSet |
TInt | GetNonOperationMtmData | ( | TMsvId | aServiceId, |
const TNonOperationMtmDataType & | aType, | |||
TDes8 & | aMtmData | |||
) |
TMsvId aServiceId | |
const TNonOperationMtmDataType & aType | |
TDes8 & aMtmData |
void | GetQueryFromServerL | ( | TMsvOp | aOperationId, |
TInt | aQueryId, | |||
CMsvSearchSortQuery * | aQuery | |||
) |
TMsvOp aOperationId | |
TInt aQueryId | |
CMsvSearchSortQuery * aQuery |
void | GetResultAsIdL | ( | RArray< TMsvId > & | aId, |
TInt & | aResultStatus | |||
) |
void | GetResultsForQueryId | ( | TInt & | aQueryId, |
TMsvOp | aOperationId, | |||
TInt | aIterator, | |||
TRequestStatus & | aRequestStatus | |||
) |
TInt & aQueryId | |
TMsvOp aOperationId | |
TInt aIterator | |
TRequestStatus & aRequestStatus |
void | GetSearchSortRequestQueryIdL | ( | TInt & | aQueryId | ) |
TInt & aQueryId |
IMPORT_C TInt | InstallMtmGroup | ( | const TDesC & | aFullName | ) |
const TDesC & aFullName |
IMPORT_C void | MoveEntriesL | ( | const CMsvEntrySelection & | aSelection, |
TMsvId | aTarget, | |||
TMsvOp | aOperationId | |||
) |
const CMsvEntrySelection & aSelection | |
TMsvId aTarget | |
TMsvOp aOperationId |
IMPORT_C void | MoveEntriesL | ( | const CMsvEntrySelection & | aSelection, |
TMsvId | aTarget, | |||
TMsvOp | aOperationId, | |||
TRequestStatus & | aRequestStatus | |||
) |
const CMsvEntrySelection & aSelection | |
TMsvId aTarget | |
TMsvOp aOperationId | |
TRequestStatus & aRequestStatus |
IMPORT_C void | OpenAttachmentForWriteL | ( | TMsvId | aEntryId, |
const TDesC & | aFilePath, | |||
RFile & | aFile | |||
) |
IMPORT_C void | OpenAttachmentL | ( | TMsvId | aEntryId, |
const TDesC & | aFilePath, | |||
RFile & | aFile | |||
) |
IMPORT_C void | OpenBodyTextFileForReadL | ( | RFile & | aFile, |
TMsvId | aBodyTextId, | |||
const TDesC & | aFilePath | |||
) |
IMPORT_C TInt | OpenFileStoreForRead | ( | TMsvId | aEntryId, |
RFile & | aFile | |||
) |
IMPORT_C TInt | OperationMtmL | ( | TMsvId | aId1, |
TMsvId | aId2, | |||
TUid & | aMtm, | |||
TMsvId & | aService | |||
) |
TInt | OperationMtmL | ( | TMsvId | aId1, |
TUid & | aMtm, | |||
TMsvId & | aService | |||
) | [inline] |
Gets the MTM that would perform an operation on a specified entry.
System wide error code
capability
None
IMPORT_C TInt | OperationSystemProgress | ( | TMsvOp | aId, |
TMsvSystemProgress & | aProgress | |||
) |
TMsvOp aId | |
TMsvSystemProgress & aProgress |
void | PackEntryIntoBufferL | ( | const TMsvEntry & | aEntry | ) | [private] |
const TMsvEntry & aEntry |
void | PackOperationDataL | ( | const CMsvEntrySelection & | aSelection, |
TInt | aParameter1, | |||
TInt | aParameter2 | |||
) | [private] |
const CMsvEntrySelection & aSelection | |
TInt aParameter1 | |
TInt aParameter2 |
IMPORT_C void | QueueSessionEventRequest | ( | TDes8 & | aChange, |
TDes8 & | aSequence, | |||
TRequestStatus & | aRequestStatus | |||
) |
TDes8 & aChange | |
TDes8 & aSequence | |
TRequestStatus & aRequestStatus |
IMPORT_C TInt | RenameAttachment | ( | TMsvId | aEntryId, |
const TDesC & | aOldFilePath, | |||
const TDesC & | aNewName | |||
) |
IMPORT_C void | ReplaceAttachmentForWriteL | ( | TMsvId | aEntryId, |
TDes & | aFilename, | |||
RFile & | aFile | |||
) |
IMPORT_C void | ReplacePlainTextFileL | ( | TMsvId | aBodyTextId | ) |
TMsvId aBodyTextId |
void | SearchSortOperationProgressL | ( | TMsvOp | aOperationId, |
TInt | aOperationProgress | |||
) |
void | SearchSortRequestOnEntryL | ( | const CMsvSearchSortQuery * | aQuery, |
TMsvOp | aOperationId, | |||
TBool | aMarkQuery, | |||
TInt | aIterator, | |||
TRequestStatus & | aRequestStatus | |||
) |
const CMsvSearchSortQuery * aQuery | |
TMsvOp aOperationId | |
TBool aMarkQuery | |
TInt aIterator | |
TRequestStatus & aRequestStatus |
void | SearchSortRequestOnHeaderBodyL | ( | const CMsvSearchSortQuery * | aQuery, |
TMsvOp | aOperationId, | |||
TBool | aMarkQuery, | |||
TRequestStatus & | aRequestStatus | |||
) |
const CMsvSearchSortQuery * aQuery | |
TMsvOp aOperationId | |
TBool aMarkQuery | |
TRequestStatus & aRequestStatus |
void | SendCommandDataL | ( | TMsvOp | aOperationId, |
const CMsvEntrySelection & | aSelection, | |||
TInt | aCommand, | |||
const TDesC8 & | aParameter | |||
) | [private] |
TMsvOp aOperationId | |
const CMsvEntrySelection & aSelection | |
TInt aCommand | |
const TDesC8 & aParameter |
void | SendEntryDataL | ( | TMsvOp | aOperationId, |
const TMsvEntry & | aEntry | |||
) | [private] |
void | SendNewResultsToServerForSortL | ( | TMsvOp | aOperationId, |
RArray< TMsvId > & | aIdArray, | |||
TRequestStatus & | aRequestStatus | |||
) |
TMsvOp aOperationId | |
RArray< TMsvId > & aIdArray | |
TRequestStatus & aRequestStatus |
void | SendOperationDataL | ( | TMsvOp | aOperationId, |
const CMsvEntrySelection & | aSelection, | |||
TInt | aParameter1 = 0, | |||
TInt | aParameter2 = 0 | |||
) | [private] |
TMsvOp aOperationId | |
const CMsvEntrySelection & aSelection | |
TInt aParameter1 = 0 | |
TInt aParameter2 = 0 |
void | SendResultantListL | ( | TMsvOp | aOperationId, |
RArray< TMsvIdWithSortField > | aTMsvIdWithSortField, | |||
TRequestStatus & | aRequestStatus | |||
) |
TMsvOp aOperationId | |
RArray< TMsvIdWithSortField > aTMsvIdWithSortField | |
TRequestStatus & aRequestStatus |
IMPORT_C void | SetFailure | ( | TInt | aType, |
TInt | aArg1 = 0, | |||
TInt | aArg2 = 0, | |||
TInt | aArg3 = 0 | |||
) |
IMPORT_C TInt | SetReceiveEntryEvents | ( | TBool | aReceive | ) |
TBool aReceive |
IMPORT_C void | TransferCommandL | ( | const CMsvEntrySelection & | aSelection, |
TInt | aCommandId, | |||
const TDesC8 & | aParameter, | |||
TMsvOp | aOperationId, | |||
TRequestStatus & | aStatus | |||
) |
const CMsvEntrySelection & aSelection | |
TInt aCommandId | |
const TDesC8 & aParameter | |
TMsvOp aOperationId | |
TRequestStatus & aStatus |
IMPORT_C TInt | TransferCommandL | ( | const CMsvEntrySelection & | aSelection, |
TInt | aCommandId, | |||
const TDesC8 & | aParameter, | |||
TMsvOp | aOperationId | |||
) |
const CMsvEntrySelection & aSelection | |
TInt aCommandId | |
const TDesC8 & aParameter | |
TMsvOp aOperationId |
void | UnmarkSearchSortRequestQueryIdL | ( | TInt | aQueryId | ) |
TInt aQueryId |