CTask Class Reference
class CTask : public CBase
|
Holds details about an individual message exchange with a server or CPM.
Constructor & Destructor Documentation
CTask(const TCFMessage &, TUint)
Parameters
const
TCFMessage
& aMessage
|
the message to be associated with the task
|
TUint
aTaskId
|
the tasks identifier
|
Member Functions Documentation
CheckIfSame(TCFMessage &)
Compares the message code and parameter block of the task's message with the message passed as a parameter and returns the result
Dequeue()
Remove this from the linked list
GetMsgReturnCode(const TCFMessage &, TInt &)
Extracts the result code from the message supplied and returns it in the status parameter
Parameters
const
TCFMessage
& aMessage
|
the reply containing the result code
|
TInt
& aStatus
|
the status to be filled in with the result code
|
Message()
Accessor method for the message
NeedReply()
TBool
|
NeedReply
|
(
|
)
|
const
|
Checks if the task's message should expect to receive a reply from the server or CPM
NewL(const TCFMessage &, const TUint)
Creates new
CTask
object
-
leave
-
KErrNoMemory
Parameters
const
TCFMessage
& aMessage
|
the message to be associated with the task
|
const
TUint
aTaskId = 0
|
the tasks identifier
|
ReplyMatches(const TCFMessage &)
Determines if the message passed as a parameter is a reply to this task's message and returns the result
Parameters
const
TCFMessage
& aMessage
|
the reply message to test
|
TaskId()
Accessor method for the task id
Member Data Documentation
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.