MSyncMLProgressObserver Class Reference

#include <SyncMLObservers.h>

Link against: iaupdatefwupdate.lib

class MSyncMLProgressObserver

Detailed Description

Interface to receive notifications of SyncML synchronisation progress events.

Notifications are requested through RSyncMLSession::RequestProgressL().

Member Enumeration Documentation

Enum TErrorLevel

SyncML error levels.

EnumeratorValueDescription
ESmlWarning

Warning. A non-fatal error has occurred. Synchronisation continues.

ESmlFatalError

Fatal error. A fatal error has occurred. The synchronisation is stopped.

Enum TStatus

SyncML synchronisation progress events.

EnumeratorValueDescription
ESmlConnecting

Connecting to a SyncML server.

ESmlConnected

Connected to a SyncML server.

ESmlLoggingOn

Logging on to a SyncML server.

ESmlLoggedOn

Logged on to a SyncML server.

ESmlDisconnected

Disconnected from a SyncML server.

ESmlCompleted

Synchronisation has completed.

ESmlSendingModificationsToServer

Sending modifications to a SyncML server. DS only

ESmlReceivingModificationsFromServer

Receiving modifications from a SyncML server. DS only

ESmlSendingMappingsToServer

Sending mappings to a SyncML server. DS only

ESmlProcessingServerCommands

Processing commands from a SyncML server. DM only

ESmlReceivingServerCommands

Receiving commands from a SyncML server. DM only

Member Function Documentation

OnSyncMLDataSyncModifications ( TInt, const TSyncMLDataSyncModifications &, const TSyncMLDataSyncModifications & )

voidOnSyncMLDataSyncModifications(TIntaTaskId,
const TSyncMLDataSyncModifications &aClientModifications,
const TSyncMLDataSyncModifications &aServerModifications
)[pure virtual]

Receives notification of modifications to synchronisation tasks.

ParameterDescription
aTaskIdThe ID of the task.
aClientModificationsModifications made on the clients Data Store.
aServerModificationsModifications made on the server Data Store.

OnSyncMLSyncError ( TErrorLevel, TInt, TInt, TInt, TInt )

voidOnSyncMLSyncError(TErrorLevelaErrorLevel,
TIntaError,
TIntaTaskId,
TIntaInfo1,
TIntaInfo2
)[pure virtual]

Receives notification of a synchronisation error.

ParameterDescription
aErrorLevelThe error level.
aErrorThe type of error. This is one of the SyncMLError error values.
aTaskIdThe ID of the task for which the error occurred.
aInfo1An integer that can contain additional information about the error. Normally 0.
aInfo2An integer that can contain additional information about the error. Normally 0.

OnSyncMLSyncProgress ( TStatus, TInt, TInt )

voidOnSyncMLSyncProgress(TStatusaStatus,
TIntaInfo1,
TIntaInfo2
)[pure virtual]

Receives notification of synchronisation progress.

ParameterDescription
aStatusThe current status, e.g. 'Connecting'.
aInfo1An integer that can contain additional information about the progress.
aInfo2An integer that can contain additional information about the progress.