CDosAsyncExecBase Class Reference

class CDosAsyncExecBase : public CActive

Helper class to help implementing the DSY for asynchronous operations.

Inherits from

Constructor & Destructor Documentation

CDosAsyncExecBase(const RMessagePtr2)

IMPORT_C CDosAsyncExecBase ( const RMessagePtr2 aMessage )

Constructor.

Parameters

const RMessagePtr2 aMessage The client-server message that has to be completed.

~CDosAsyncExecBase()

IMPORT_C ~CDosAsyncExecBase ( )

Destructor

Member Functions Documentation

AfterComplete(TBool &)

IMPORT_C void AfterComplete ( TBool & aAutoDestroy ) [private, virtual]

It's meant to be overriden and it's called just before the message has been completed.

Parameters

TBool & aAutoDestroy If it's set to ETrue the object will destroy itself otherwise it won't.

BeforeComplete(TBool &)

IMPORT_C void BeforeComplete ( TBool & aComplete ) [private, virtual]

It's meant to be overriden and it's called just before the message has been completed.

Parameters

TBool & aComplete If put to ETrue the message will be completed otherwise it won't.

DoCancel()

IMPORT_C void DoCancel ( ) [private, virtual]

Inherited from CActive . It cancels the outstanding request.

RunL()

IMPORT_C void RunL ( ) [private, virtual]

Inherited from CActive . It calls BeforeComplete, completes the request if instructed to do so and then calls AfterComplete.

Member Data Documentation

const RMessagePtr2 iMessage

const RMessagePtr2 iMessage [private]