CASYCommandHandlerBase Class Reference

class CASYCommandHandlerBase : public CBase

Pure virtual base class for ASYs, from where ASY are meant to be inherited. ASYProxy creates the instances.

ASYProxy.lib
Since
S60 3.1

Inherits from

  • CASYCommandHandlerBase

Constructor & Destructor Documentation

CASYCommandHandlerBase()

IMPORT_CCASYCommandHandlerBase()[protected]

C++ default constructor.

~CASYCommandHandlerBase()

IMPORT_C~CASYCommandHandlerBase()[virtual]

Destructor.

Member Functions Documentation

ASYMainServiceBase()

IMPORT_C CASYMainServiceBase *ASYMainServiceBase()[protected]
ASYCommandHandler calls this to get a pointer to a CASYMainServiceBase object
Since
S60 3.1

ConstructL(CASYMainServiceBase *, CASYProxyCommandObserver *)

voidConstructL(CASYMainServiceBase *aAsyMainServiceBase,
CASYProxyCommandObserver *aASYProxyCommandObserver
)[private]

By default Symbian 2nd phase constructor is private.

Parameters

CASYMainServiceBase * aAsyMainServiceBase
CASYProxyCommandObserver * aASYProxyCommandObserver

NewL(CASYMainServiceBase *, CASYProxyCommandObserver *, TUid)

CASYCommandHandlerBase *NewL(CASYMainServiceBase *aAsyMainServiceBase,
CASYProxyCommandObserver *aASYProxyCommandObserver,
TUidiImplementationUidAsyHandler
)[static]

Two-phased constructor.

Parameters

CASYMainServiceBase * aAsyMainServiceBase
CASYProxyCommandObserver * aASYProxyCommandObserver
TUid iImplementationUidAsyHandler

ObjectConDataFromProxyL(CAccPolObjectCon &)

IMPORT_C voidObjectConDataFromProxyL(CAccPolObjectCon &aObjectCon)const [protected]

ASY calls this to fetch a data to the object container.

Method is not meant to be override.

Parameters

CAccPolObjectCon & aObjectConreference to the object container where to internalize a data from ASY proxy buffer.

ProcessCommandL(const TProcessCmdId, const TASYCmdParams &)

IMPORT_C voidProcessCommandL(const TProcessCmdIdaCommand,
const TASYCmdParams &aCmdParams
)[pure virtual]
Processes request command from server.
Since
S60 3.1

Parameters

const TProcessCmdId aCommandCommand to process.
const TASYCmdParams & aCmdParamsParams of command to process.

ProcessResponseL(const TAccValueTypeTBool, const TInt)

IMPORT_C voidProcessResponseL(const TAccValueTypeTBoolaCmdResponse,
const TIntaErrCode =  KErrNone
)[protected]
ASY calls this after handling ProcessCommandL. Method is not meant to be override.
Since
S60 3.1

Parameters

const TAccValueTypeTBool aCmdResponseResponse value
const TInt aErrCode =  KErrNone Error code for command processing

ProcessResponseL(const TAccValueTypeTInt, const TInt)

IMPORT_C voidProcessResponseL(const TAccValueTypeTIntaCmdResponse,
const TIntaErrCode =  KErrNone
)[protected]
ASY calls this after handling ProcessCommandL. Method is not meant to be override.
Since
S60 3.1

Parameters

const TAccValueTypeTInt aCmdResponseResponse value
const TInt aErrCode =  KErrNone Error code for command processing

ProcessResponseL(const TDesC8 &, const TInt)

IMPORT_C voidProcessResponseL(const TDesC8 &aCmdResponse,
const TIntaErrCode =  KErrNone
)[protected]
ASY calls this after handling ProcessCommandL. Method is not meant to be override.
Since
S60 3.1

Parameters

const TDesC8 & aCmdResponseResponse value
const TInt aErrCode =  KErrNone Error code for command processing

ProcessResponseL(const CAccPolObjectCon &, const TInt)

IMPORT_C voidProcessResponseL(const CAccPolObjectCon &aObjectCon,
const TIntaErrCode =  KErrNone
)[protected]

ASY calls this after handling a "ProcessCommandL" with params: ECmdGetObjectValue, ECmdSetObjectValue

Method is not meant to be override.

Parameters

const CAccPolObjectCon & aObjectConContains an object(s) which is/are externalized to ASY proxy buffer.
const TInt aErrCode =  KErrNone Error code for command processing

Member Data Documentation

CASYProxyCommandObserver * iASYProxyCommandObserver

CASYProxyCommandObserver *iASYProxyCommandObserver[private]

CASYMainServiceBase * iAsyMainServiceBase

CASYMainServiceBase *iAsyMainServiceBase[private]

TUid iDtor_ID_Key

TUid iDtor_ID_Key[private]