CJob Class Reference
class CJob : public CBase
|
Manages an asynchronous call from the rootserver into bindmanager, including monitoring a list of individual tasks associated with the job, and dealing with a timeout if a task fails to complete
Nested Classes and Structures
Constructor & Destructor Documentation
CJob(TRequestStatus &, MBindManagerNotify *)
Member Functions Documentation
AddTaskL(TUint, const TCFModuleNameF &)
Add a task to this job
-
leave
-
KErrNoMemory
Parameters
TUint
aTaskId
|
the task identifier to add
|
const
TCFModuleNameF
& aModule
|
the name of the module which owns the task
|
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
Second phase constructor for
CJob
Dequeue()
Remove this from the linked list
HasStatus(const TRequestStatus &)
Indicates whether this job will complete the supplied status request when the job completes
ModuleTimerShot()
void
|
ModuleTimerShot
|
(
|
)
|
[virtual]
|
Virtual method called by timeout member
NewL(TRequestStatus &, MBindManagerNotify *)
Creates new
CJob
object
-
leave
-
KErrNoMemory
StartTimeout(TUint)
void
|
StartTimeout
|
(
|
TUint
|
aMicroseconds
|
)
|
|
Start the timeout for this job
Parameters
TUint
aMicroseconds
|
the length of the timeout
|
TaskCompleted(const TCFModuleNameF &, const TUint, const TInt)
Method called by bindmanager when a task is completed. If all of the tasks on a job complete then the client's request will be completed and the job deleted
Parameters
const
TCFModuleNameF
& aModuleName
|
the name of the module that owns the completed task
|
const
TUint
aTaskId
|
the identifier of the completed task
|
const
TInt
aStatus
|
the completion code for the task
|
Member Data Documentation
MBindManagerNotify * iBindManager
TBool
iCancelled
TBool
|
iCancelled
|
[private]
|
TInt
iCompletionCode
TInt
|
iCompletionCode
|
[private]
|
TRequestStatus & iRsStatus
RArray< TTaskData > iTaskDataList
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.