|
||
class MSyncMLEventObserver;
Interface to receive notifications of SyncML
session events.
Notifications are requested through RSyncMLSession::RequestEventL(MSyncMLEventObserver &)
.
Defined in MSyncMLEventObserver
:
EJobRejected
Job could not be parsed, and will not be processed. EJobStart
Job has started. EJobStartFailed
Job has failed to start. EJobStop
Job has stopped. EProfileChanged
A profile has been changed. EProfileCreated
A profile has been created. EProfileDeleted
A profile has been deleted. EServerSuspended
The SyncML Agent is suspended. This can occur when processing pauses in order to...EServerTerminated
The SyncML Agent has shutdown. ETransportTimeout
A 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.
|