|
||
class CSyncMLHistoryJob : public CSyncMLHistoryEntry;
This class holds the result of a session with a server.
CBase
-
Base class for all classes to be instantiated on the heap.
CSyncMLHistoryEntry
- Base class for a history log entry.
CSyncMLHistoryJob
- This class holds the result of a session with a server.
Defined in CSyncMLHistoryJob
:
DynamicCast(CSyncMLHistoryEntry *)
DynamicCast(const CSyncMLHistoryEntry *)
ExternalizeL(RWriteStream &)const
This method writes the details associated with this entry to the specified strea...FinishTime()const
This method returns the time that the Sync Job completed.InternalizeL(RReadStream &)
NewL()
This method creates a new Job History entry representing a Sync Job.NewL(TSmlProfileId,const RArray< TSmlTaskId > &)
This method creates a new Job History entry representing a Sync Job.Profile()const
This method returns the ID of the Server Profile that this entry is associated w...ResultCode()const
This method returns the result of the Sync Job.SetResult(TTime,TInt)
This method sets the finish time, and result code for the Sync Job entry.TTaskInfo
This class identifies a sync task within the profile, and the result of the atte...TaskAt(TInt)const
This method returns the task information at the specified index in the entry.TaskById(TSmlTaskId)
This method returns a modifiable reference to the information for the specified ...TaskCount()const
This method returns the number of tasks that were synchronised by the Job this e...TimeStamp()const
This method returns the time stamp of this entry. i.e. when the Job started.~CSyncMLHistoryJob()
Destructor for CSyncMLHistoryJob Inherited from CBase
:
Delete(CBase *)
Deletes the specified object.Extension_(TUint,TAny *&,TAny *)
Extension function operator new(TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TAny *)
Initialises the object to binary zeroes.operator new(TUint,TLeave)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TLeave,TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TUint)
Allocates the object from the heap and then initialises its contents to binary z...Inherited from CSyncMLHistoryEntry
:
ESortByTime
Ordered by Time Stamp. ESortByType
Ordered by Entry Type. EntryId()const
This method returns the unique ID of the entry. This identifier is unique within...EntryType()const
This method may be used to determine the type of the entry. NewL(RReadStream &)
This method creates a new history log entry from a stream, internalizing all dat...NewL(TUid)
This method creates a new history log entry of the specified type.NewL(const CSyncMLHistoryEntry &)
This method creates a new copy of an existing History Log entry.TSortOrder
An ordering of History Entries. IMPORT_C static CSyncMLHistoryJob* NewL();
This method creates a new Job History entry representing a Sync Job.
|
|
IMPORT_C static CSyncMLHistoryJob* NewL(TSmlProfileId, const RArray< TSmlTaskId > &);
This method creates a new Job History entry representing a Sync Job.
|
|
|
static inline CSyncMLHistoryJob* DynamicCast(CSyncMLHistoryEntry *);
|
|
static inline const CSyncMLHistoryJob* DynamicCast(const CSyncMLHistoryEntry *);
|
|
IMPORT_C virtual void ExternalizeL(RWriteStream &) const;
This method writes the details associated with this entry to the specified stream.
|
IMPORT_C virtual TSmlProfileId Profile() const;
This method returns the ID of the Server Profile that this entry is associated with. Returns KSmlNullId if this entry is not associated with any Profile.
|
IMPORT_C virtual TTime TimeStamp() const;
This method returns the time stamp of this entry. i.e. when the Job started.
|
IMPORT_C virtual TInt ResultCode() const;
This method returns the result of the Sync Job.
|
IMPORT_C TTime FinishTime() const;
This method returns the time that the Sync Job completed.
|
IMPORT_C TInt TaskCount() const;
This method returns the number of tasks that were synchronised by the Job this entry represents.
|
IMPORT_C const TTaskInfo& TaskAt(TInt) const;
This method returns the task information at the specified index in the entry.
|
|
IMPORT_C TTaskInfo& TaskById(TSmlTaskId);
This method returns a modifiable reference to the information for the specified task.
|
|
|
IMPORT_C void SetResult(TTime aFinishTime, TInt aResultCode);
This method sets the finish time, and result code for the Sync Job entry.
|
class TTaskInfo;
This class identifies a sync task within the profile, and the result of the attempt to synchronise it.
Defined in CSyncMLHistoryJob::TTaskInfo
:
ExternalizeL(RWriteStream &)const
This method writes a CSyncMLHistoryJob::TTaskInfo object to a stream.InternalizeL(RReadStream &)
This method reads a CSyncMLHistoryJob::TTaskInfo object from a stream.TTaskInfo()
Default constructor for CSyncMLHistoryJob::TTaskInfo. iError
Indicates the synchronisation result iItemsAdded
Indicates the number of items added to the db iItemsChanged
Indicates the number of items modified in the db iItemsDeleted
Indicates the number of items deleted from the db iItemsFailed
Indicates the number of items that failed synchronisation iItemsMoved
Indicates the number of items moved in the db iServerItemsAdded
Indicates the number of items added on the server iServerItemsChanged
Indicates the number of items changed on the server iServerItemsDeleted
Indicates the number of items deleted on the server iServerItemsFailed
Indicates the number of items failed synchronisation on the server iServerItemsMoved
Indicates the number of items moved on the server iSyncType
Indicates the Synchronisation type used for the task. iTaskId
Identifies the profile sync task TTaskInfo()
IMPORT_C TTaskInfo();
Default constructor for CSyncMLHistoryJob::TTaskInfo
.
InternalizeL(RReadStream &)
IMPORT_C void InternalizeL(RReadStream &);
This method reads a CSyncMLHistoryJob::TTaskInfo
object from a stream.
|
ExternalizeL(RWriteStream &)const
IMPORT_C void ExternalizeL(RWriteStream &) const;
This method writes a CSyncMLHistoryJob::TTaskInfo
object to a stream.
|
iTaskId
TSmlTaskId iTaskId;
Identifies the profile sync task
iError
TInt iError;
Indicates the synchronisation result
iItemsAdded
TInt iItemsAdded;
Indicates the number of items added to the db
iItemsChanged
TInt iItemsChanged;
Indicates the number of items modified in the db
iItemsDeleted
TInt iItemsDeleted;
Indicates the number of items deleted from the db
iItemsMoved
TInt iItemsMoved;
Indicates the number of items moved in the db
iItemsFailed
TInt iItemsFailed;
Indicates the number of items that failed synchronisation
iServerItemsAdded
TInt iServerItemsAdded;
Indicates the number of items added on the server
iServerItemsDeleted
TInt iServerItemsDeleted;
Indicates the number of items deleted on the server
iServerItemsMoved
TInt iServerItemsMoved;
Indicates the number of items moved on the server
iServerItemsChanged
TInt iServerItemsChanged;
Indicates the number of items changed on the server
iServerItemsFailed
TInt iServerItemsFailed;
Indicates the number of items failed synchronisation on the server
iSyncType
TSmlSyncType iSyncType;
Indicates the Synchronisation type used for the task.