CASYProxyCommandObserver Class Reference

class CASYProxyCommandObserver : public CActive

Observer class for processing current response One observer object for every command is needed

ASYProxy.dll
Since
S60 3.1

Inherits from

Constructor & Destructor Documentation

CASYProxyCommandObserver()

CASYProxyCommandObserver()[private]

C++ default constructor.

~CASYProxyCommandObserver()

~CASYProxyCommandObserver()[virtual]

Destructor.

Member Functions Documentation

AllowResponseL()

voidAllowResponseL()[private]

ConstructL(CASYProxyCommsService *)

voidConstructL(CASYProxyCommsService *iAsyProxyCommsSrvc)[private]

By default Symbian 2nd phase constructor is private.

Parameters

CASYProxyCommsService * iAsyProxyCommsSrvc

ConstructL()

voidConstructL()[private]

DoCancel()

voidDoCancel()[protected, virtual]

From CActive Implements cancellation of an outstanding request.

DoDestroy(TInt)

voidDoDestroy(TIntaTrId)[private]

Parameters

TInt aTrId

DoObjectContainerFromProxyL(CAccPolObjectCon &)

voidDoObjectContainerFromProxyL(CAccPolObjectCon &aObjectCon)const

Gets an object container data from proxy.

Parameters

CAccPolObjectCon & aObjectConreference to objeccontainer.

DoProcessResponseL(const TAccValueTypeTBool, const TInt)

voidDoProcessResponseL(const TAccValueTypeTBoolaCmdResponse,
const TIntaErrCode
)
Process responses.
Since
S60 3.1

Parameters

const TAccValueTypeTBool aCmdResponseResponse value
const TInt aErrCodeError code of the response

DoProcessResponseL(const TAccValueTypeTInt, const TInt)

voidDoProcessResponseL(const TAccValueTypeTIntaCmdResponse,
const TIntaErrCode
)
Process responses.
Since
S60 3.1

Parameters

const TAccValueTypeTInt aCmdResponseResponse value
const TInt aErrCodeError code of the response

DoProcessResponseL(const TDesC8 &, const TInt)

voidDoProcessResponseL(const TDesC8 &aCmdResponse,
const TIntaErrCode
)
Process responses.
Since
S60 3.1

Parameters

const TDesC8 & aCmdResponseResponse value
const TInt aErrCodeError code of the response

DoProcessResponseL(const CAccPolObjectCon &, const TInt)

voidDoProcessResponseL(const CAccPolObjectCon &aObjectCon,
const TIntaErrCode
)

Process responses.

Parameters

const CAccPolObjectCon & aObjectCon
const TInt aErrCodeError code of the response

InitializeRef(CASYProxyTRRecord *)

voidInitializeRef(CASYProxyTRRecord *aAsyProxyTRRecord)
Sets the pointer of iAsyProxyTRRecord.
Since
S60 3.1

Parameters

CASYProxyTRRecord * aAsyProxyTRRecordPointer to the current transaction record

IssueRequestL()

voidIssueRequestL()
Issues asynchronously request for notifying process command to client
Since
S60 3.1

MarkForFinalDestruction()

voidMarkForFinalDestruction()
Marks for final destruction, that avoids creation of new observer.
Since
S60 3.1

NewL(CASYProxyCommsService *)

CASYProxyCommandObserver *NewL(CASYProxyCommsService *iAsyProxyCommsSrvc)[static]

Two-phased constructor.

Parameters

CASYProxyCommsService * iAsyProxyCommsSrvc

NewL()

CASYProxyCommandObserver *NewL()[static]

Two-phased constructor.

RunError(TInt)

TInt RunError(TIntaError)[protected, virtual]

Runs if the RunL leaves

Parameters

TInt aError

RunL()

voidRunL()[protected, virtual]

From CActive Handles an active object's request completion event.

Member Data Documentation

TInt iAllowResponse

TInt iAllowResponse[private]

CASYProxyCommsService * iAsyProxyCommsSrvc

CASYProxyCommsService *iAsyProxyCommsSrvc[private]

CASYProxyTRRecord * iAsyProxyTRRecord

CASYProxyTRRecord *iAsyProxyTRRecord[private]

TBool iInDestructionPhase

TBool iInDestructionPhase[private]

CBufFlat * iObjectBuf

CBufFlat *iObjectBuf[private]

TPtr8 iObjectBufPtr

TPtr8 iObjectBufPtr[private]