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

Public Member Functions
~CASYProxyCommandObserver ()
void DoObjectContainerFromProxyL ( CAccPolObjectCon &)
void DoProcessResponseL (const TAccValueTypeTBool , const TInt )
void DoProcessResponseL (const TAccValueTypeTInt , const TInt )
void DoProcessResponseL (const TDesC8 &, const TInt )
void DoProcessResponseL (const CAccPolObjectCon &, const TInt )
void InitializeRef ( CASYProxyTRRecord *)
void IssueRequestL ()
void MarkForFinalDestruction ()
CASYProxyCommandObserver * NewL ( CASYProxyCommsService *)
CASYProxyCommandObserver * NewL ()
Protected Member Functions
void DoCancel ()
TInt RunError ( TInt )
void RunL ()
Private Member Functions
CASYProxyCommandObserver ()
void AllowResponseL ()
void ConstructL ( CASYProxyCommsService *)
void ConstructL ()
void DoDestroy ( TInt )
Inherited Functions
CActive::CActive(TInt)
CActive::Cancel()
CActive::Deque()
CActive::Extension_(TUint,TAny *&,TAny *)
CActive::IsActive()const
CActive::IsAdded()const
CActive::Priority()const
CActive::SetActive()
CActive::SetPriority(TInt)
CActive::~CActive()
CBase::CBase()
CBase::Delete(CBase *)
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()
Inherited Enumerations
CActive:TPriority
Private Attributes
TInt iAllowResponse
CASYProxyCommsService * iAsyProxyCommsSrvc
CASYProxyTRRecord * iAsyProxyTRRecord
TBool iInDestructionPhase
CBufFlat * iObjectBuf
TPtr8 iObjectBufPtr
Inherited Attributes
CActive::iStatus

Constructor & Destructor Documentation

CASYProxyCommandObserver()

CASYProxyCommandObserver ( ) [private]

C++ default constructor.

~CASYProxyCommandObserver()

~CASYProxyCommandObserver ( ) [virtual]

Destructor.

Member Functions Documentation

AllowResponseL()

void AllowResponseL ( ) [private]

ConstructL(CASYProxyCommsService *)

void ConstructL ( CASYProxyCommsService * iAsyProxyCommsSrvc ) [private]

By default Symbian 2nd phase constructor is private.

Parameters

CASYProxyCommsService * iAsyProxyCommsSrvc

ConstructL()

void ConstructL ( ) [private]

DoCancel()

void DoCancel ( ) [protected, virtual]

From CActive Implements cancellation of an outstanding request.

DoDestroy(TInt)

void DoDestroy ( TInt aTrId ) [private]

Parameters

TInt aTrId

DoObjectContainerFromProxyL(CAccPolObjectCon &)

void DoObjectContainerFromProxyL ( CAccPolObjectCon & aObjectCon ) const

Gets an object container data from proxy.

Parameters

CAccPolObjectCon & aObjectCon reference to objeccontainer.

DoProcessResponseL(const TAccValueTypeTBool, const TInt)

void DoProcessResponseL ( const TAccValueTypeTBool aCmdResponse,
const TInt aErrCode
)
Process responses.
Since
S60 3.1

Parameters

const TAccValueTypeTBool aCmdResponse Response value
const TInt aErrCode Error code of the response

DoProcessResponseL(const TAccValueTypeTInt, const TInt)

void DoProcessResponseL ( const TAccValueTypeTInt aCmdResponse,
const TInt aErrCode
)
Process responses.
Since
S60 3.1

Parameters

const TAccValueTypeTInt aCmdResponse Response value
const TInt aErrCode Error code of the response

DoProcessResponseL(const TDesC8 &, const TInt)

void DoProcessResponseL ( const TDesC8 & aCmdResponse,
const TInt aErrCode
)
Process responses.
Since
S60 3.1

Parameters

const TDesC8 & aCmdResponse Response value
const TInt aErrCode Error code of the response

DoProcessResponseL(const CAccPolObjectCon &, const TInt)

void DoProcessResponseL ( const CAccPolObjectCon & aObjectCon,
const TInt aErrCode
)

Process responses.

Parameters

const CAccPolObjectCon & aObjectCon
const TInt aErrCode Error code of the response

InitializeRef(CASYProxyTRRecord *)

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

Parameters

CASYProxyTRRecord * aAsyProxyTRRecord Pointer to the current transaction record

IssueRequestL()

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

MarkForFinalDestruction()

void MarkForFinalDestruction ( )
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 ( TInt aError ) [protected, virtual]

Runs if the RunL leaves

Parameters

TInt aError

RunL()

void RunL ( ) [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]