|
|
|
class MSyncMLEventObserver;
Interface to receive notifications of SyncML session events.
Notifications are requested through RSyncMLSession::RequestEventL(MSyncMLEventObserver &).
Defined in MSyncMLEventObserver:
EJobRejectedJob could not be parsed, and will not be processed. EJobStartJob has started. EJobStartFailedJob has failed to start. EJobStopJob has stopped. EProfileChangedA profile has been changed. EProfileCreatedA profile has been created. EProfileDeletedA profile has been deleted. EServerSuspendedThe SyncML Agent is suspended. This can occur when processing pauses in order to...EServerTerminatedThe SyncML Agent has shutdown. ETransportTimeoutA transport has timed-out. OnSyncMLSessionEvent(TEvent,TInt,TInt,TInt)Receives a SyncML session event.TEvent
SyncML session event types. virtual void OnSyncMLSessionEvent(TEvent aEvent, TInt aIdentifier, TInt aError, TInt aAdditionalData)=0;
Receives a SyncML session event.
The following table lists the meaning of the identifier and error parameters for the various event types.
TEvent aIdentifier aError aAdditionalData
EJobStart ID of the new job. KErrNone. KUnusedAdditionalData.
EJobStartFailed Unused. Reason for fail. KUnusedAdditionalData.
EJobStop ID of the job. Completion code. KUnusedAdditionalData.
EJobRejected Unused. Reason for rejection. KUnusedAdditionalData.
EProfileCreated ID of the profile. Unused. The usage type( either ESmlDataSync or ESmlDevMan) or an error code.
EProfileChanged ID of the profile. Unused. The usage type( either ESmlDataSync or ESmlDevMan) or an error code.
EProfileDeleted ID of the profile. Unused. KUnusedAdditionalData.
ETransportTimeout ID of the transport. KErrTimedOut. KUnusedAdditionalData.
EServerSuspended Non-zero if the server KErrNone when entering. When exiting,
is entering suspended any error encountered when reloading data. KUnusedAdditionalData.
state, zero on exiting.
EServerTerminated Unused. KErrServerTerminated. KUnusedAdditionalData.
|
TEvent
SyncML session event types.
|