CClientProxy Class Reference

class CClientProxy : public CBase

Inherits from

Public Member Functions
~CClientProxy()
voidAddTask(CScheduledTask &)
voidDecUsers()
voidExecuteTasks()
const TDesC &ExecutorFileName()
voidExternalizeL(RWriteStream &)
voidIncUsers()
voidInternalizeL(RReadStream &)
TBool IsEqual(const TDesC &, TInt)
TBool IsReadyToExecute()
CClientProxy *NewL(RFs &, RReadStream &, CSchLogManager &)
CClientProxy *NewL(RFs &, const TDesC &, TInt, CSchLogManager &)
TInt Offset()
TInt Priority()
voidReadyToExecute()
voidRemove()
voidRemoveDueTasks()
voidRemoveTask(CScheduledTask *)
TDblQueIter< CScheduledTask >TaskIterator()
voidTransferTasks(CClientProxy &)
TInt Users()
Private Member Functions
CClientProxy(RFs &, CSchLogManager &)
CClientProxy(RFs &, TInt, CSchLogManager &)
voidConstructL(const TDesC &)
CFileStore *CreateStoreL(const TDesC &, TUint)
TInt DoExecuteTasks(const CArrayPtr< CScheduledTask > &, const TDesC &)
voidDoExecuteTasksL()
voidDoExecuteTasksL(const CArrayPtr< CScheduledTask > &, const TDesC &, const TDesC &)
CArrayPtr< CScheduledTask > *DueTasksL()
voidSaveTasksL(CFileStore &, const CArrayPtr< CScheduledTask > &)
voidSaveTasksToFileL(const CArrayPtr< CScheduledTask > &, const TDesC &)
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()
Private Attributes
HBufC *iFileName
RFs &iFsSession
TPriQueLink iPriLink
TBool iReadyToExecute
CSchLogManager &iSchLogManager
TPriQue< CScheduledTask >iTasks
TInt iUsers

Constructor & Destructor Documentation

CClientProxy(RFs &, CSchLogManager &)

CClientProxy(RFs &aFsSession,
CSchLogManager &aLogManager
)[private]

Parameters

RFs & aFsSession
CSchLogManager & aLogManager

CClientProxy(RFs &, TInt, CSchLogManager &)

CClientProxy(RFs &aFsSession,
TIntaPriority,
CSchLogManager &aLogManager
)[private]

Parameters

RFs & aFsSession
TInt aPriority
CSchLogManager & aLogManager

~CClientProxy()

~CClientProxy()

Member Functions Documentation

AddTask(CScheduledTask &)

voidAddTask(CScheduledTask &aTask)

Parameters

CScheduledTask & aTask

ConstructL(const TDesC &)

voidConstructL(const TDesC &aFileName)[private]

Parameters

const TDesC & aFileName

CreateStoreL(const TDesC &, TUint)

CFileStore *CreateStoreL(const TDesC &aName,
TUintaFileMode
)[private]

Parameters

const TDesC & aName
TUint aFileMode

DecUsers()

voidDecUsers()[inline]

DoExecuteTasks(const CArrayPtr< CScheduledTask > &, const TDesC &)

TInt DoExecuteTasks(const CArrayPtr< CScheduledTask > &aTasks,
const TDesC &aFileName
)[private]

Parameters

const CArrayPtr< CScheduledTask > & aTasks
const TDesC & aFileName

DoExecuteTasksL()

voidDoExecuteTasksL()[private]

DoExecuteTasksL(const CArrayPtr< CScheduledTask > &, const TDesC &, const TDesC &)

voidDoExecuteTasksL(const CArrayPtr< CScheduledTask > &aTasks,
const TDesC &aFileName,
const TDesC &aErrorMessage
)[private]

Parameters

const CArrayPtr< CScheduledTask > & aTasks
const TDesC & aFileName
const TDesC & aErrorMessage

DueTasksL()

CArrayPtr< CScheduledTask > *DueTasksL()[private]

ExecuteTasks()

voidExecuteTasks()

ExecutorFileName()

const TDesC &ExecutorFileName()const [inline]

ExternalizeL(RWriteStream &)

voidExternalizeL(RWriteStream &aStream)const

Parameters

RWriteStream & aStream

IncUsers()

voidIncUsers()[inline]

InternalizeL(RReadStream &)

voidInternalizeL(RReadStream &aStream)

Parameters

RReadStream & aStream

IsEqual(const TDesC &, TInt)

TBool IsEqual(const TDesC &aFilename,
TIntaPriority
)const

Parameters

const TDesC & aFilename
TInt aPriority

IsReadyToExecute()

TBool IsReadyToExecute()const [inline]

NewL(RFs &, RReadStream &, CSchLogManager &)

CClientProxy *NewL(RFs &aFsSession,
RReadStream &aStream,
CSchLogManager &aLogManager
)[static]

Parameters

RFs & aFsSession
RReadStream & aStream
CSchLogManager & aLogManager

NewL(RFs &, const TDesC &, TInt, CSchLogManager &)

CClientProxy *NewL(RFs &aFsSession,
const TDesC &aFileName,
TIntaPriority,
CSchLogManager &aLogManager
)[static]

Parameters

RFs & aFsSession
const TDesC & aFileName
TInt aPriority
CSchLogManager & aLogManager

Offset()

TInt Offset()[static, inline]

Priority()

TInt Priority()const [inline]

ReadyToExecute()

voidReadyToExecute()[inline]

Remove()

voidRemove()[inline]

RemoveDueTasks()

voidRemoveDueTasks()

RemoveTask(CScheduledTask *)

voidRemoveTask(CScheduledTask *aTask)

Parameters

CScheduledTask * aTask

SaveTasksL(CFileStore &, const CArrayPtr< CScheduledTask > &)

voidSaveTasksL(CFileStore &aStore,
const CArrayPtr< CScheduledTask > &aTasks
)[private]

Parameters

CFileStore & aStore
const CArrayPtr< CScheduledTask > & aTasks

SaveTasksToFileL(const CArrayPtr< CScheduledTask > &, const TDesC &)

voidSaveTasksToFileL(const CArrayPtr< CScheduledTask > &aTasks,
const TDesC &aFileName
)[private]

Parameters

const CArrayPtr< CScheduledTask > & aTasks
const TDesC & aFileName

TaskIterator()

TDblQueIter< CScheduledTask >TaskIterator()

TransferTasks(CClientProxy &)

voidTransferTasks(CClientProxy &aTargetClient)

Parameters

CClientProxy & aTargetClient

Users()

TInt Users()const [inline]

Member Data Documentation

HBufC * iFileName

HBufC *iFileName[private]

RFs & iFsSession

RFs &iFsSession[private]

TPriQueLink iPriLink

TPriQueLink iPriLink[private]

TBool iReadyToExecute

TBool iReadyToExecute[private]

CSchLogManager & iSchLogManager

CSchLogManager &iSchLogManager[private]

TPriQue< CScheduledTask > iTasks

TPriQue< CScheduledTask >iTasks[private]

TInt iUsers

TInt iUsers[private]