CSyncMLHistoryJob Class Reference

class CSyncMLHistoryJob : public CSyncMLHistoryEntry

This class holds the result of a session with a server.

Inherits from

Nested Classes and Structures

Public Member Functions
~CSyncMLHistoryJob ()
CSyncMLHistoryJob * DynamicCast ( CSyncMLHistoryEntry *)
const CSyncMLHistoryJob * DynamicCast (const CSyncMLHistoryEntry *)
IMPORT_C void ExternalizeL ( RWriteStream &)
IMPORT_C TTime FinishTime ()
IMPORT_C TTime LastSuccessSyncTime ()
IMPORT_C CSyncMLHistoryJob * NewL ()
IMPORT_C CSyncMLHistoryJob * NewL ( TSmlProfileId , const RArray < TSmlTaskId > &)
IMPORT_C TSmlProfileId Profile ()
IMPORT_C TInt ResultCode ()
IMPORT_C void SetLastSyncResult ( TTime )
IMPORT_C void SetResult ( TTime , TInt )
IMPORT_C const TTaskInfo & TaskAt ( TInt )
IMPORT_C TTaskInfo & TaskById ( TSmlTaskId )
IMPORT_C TInt TaskCount ()
IMPORT_C TTime TimeStamp ()
Private Member Functions
CSyncMLHistoryJob ()
void ConstructL ( TSmlProfileId , const RArray < TSmlTaskId > &)
void InternalizeL ( RReadStream &)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CSyncMLHistoryEntry::CSyncMLHistoryEntry(TUid)
CSyncMLHistoryEntry::DoDynamicCast(TUid,CSyncMLHistoryEntry *)
CSyncMLHistoryEntry::DoDynamicCast(TUid,const CSyncMLHistoryEntry *)
CSyncMLHistoryEntry::EntryId()const
CSyncMLHistoryEntry::EntryType()const
CSyncMLHistoryEntry::NewL(RReadStream &)
CSyncMLHistoryEntry::NewL(TUid)
CSyncMLHistoryEntry::NewL(const CSyncMLHistoryEntry &)
CSyncMLHistoryEntry::~CSyncMLHistoryEntry()
Inherited Enumerations
CSyncMLHistoryEntry:TSortOrder
Private Attributes
TTime iFinishTime
TTime iLastSuccessSync
TSmlProfileId iProfileId
TInt iResultCode
TTime iStartTime
RArray < TTaskInfo > iTaskInfo

Constructor & Destructor Documentation

CSyncMLHistoryJob()

CSyncMLHistoryJob ( ) [private]

~CSyncMLHistoryJob()

IMPORT_C ~CSyncMLHistoryJob ( ) [virtual]

Member Functions Documentation

ConstructL(TSmlProfileId, const RArray< TSmlTaskId > &)

void ConstructL ( TSmlProfileId ,
const RArray < TSmlTaskId > &
) [private]

DynamicCast(CSyncMLHistoryEntry *)

CSyncMLHistoryJob * DynamicCast ( CSyncMLHistoryEntry * ) [static, inline]

DynamicCast(const CSyncMLHistoryEntry *)

const CSyncMLHistoryJob * DynamicCast ( const CSyncMLHistoryEntry * ) [static, inline]

Parameters

const CSyncMLHistoryEntry *

ExternalizeL(RWriteStream &)

IMPORT_C void ExternalizeL ( RWriteStream & ) const [virtual]

Parameters

RWriteStream &

FinishTime()

IMPORT_C TTime FinishTime ( ) const

InternalizeL(RReadStream &)

void InternalizeL ( RReadStream & ) [private, virtual]

Parameters

RReadStream &

LastSuccessSyncTime()

IMPORT_C TTime LastSuccessSyncTime ( ) const

NewL()

IMPORT_C CSyncMLHistoryJob * NewL ( ) [static]

NewL(TSmlProfileId, const RArray< TSmlTaskId > &)

IMPORT_C CSyncMLHistoryJob * NewL ( TSmlProfileId ,
const RArray < TSmlTaskId > &
) [static]

Profile()

IMPORT_C TSmlProfileId Profile ( ) const [virtual]

ResultCode()

IMPORT_C TInt ResultCode ( ) const [virtual]

SetLastSyncResult(TTime)

IMPORT_C void SetLastSyncResult ( TTime aSuccessSyncTime )

Parameters

TTime aSuccessSyncTime

SetResult(TTime, TInt)

IMPORT_C void SetResult ( TTime aFinishTime,
TInt aResultCode
)

Parameters

TTime aFinishTime
TInt aResultCode

TaskAt(TInt)

IMPORT_C const TTaskInfo & TaskAt ( TInt ) const

Parameters

TInt

TaskById(TSmlTaskId)

IMPORT_C TTaskInfo & TaskById ( TSmlTaskId )

Parameters

TSmlTaskId

TaskCount()

IMPORT_C TInt TaskCount ( ) const

TimeStamp()

IMPORT_C TTime TimeStamp ( ) const [virtual]

Member Data Documentation

TTime iFinishTime

TTime iFinishTime [private]

TTime iLastSuccessSync

TTime iLastSuccessSync [private]

TSmlProfileId iProfileId

TSmlProfileId iProfileId [private]

TInt iResultCode

TInt iResultCode [private]

TTime iStartTime

TTime iStartTime [private]

RArray< TTaskInfo > iTaskInfo

RArray < TTaskInfo > iTaskInfo [private]