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

Constructor & Destructor Documentation

CASYCommandHandlerBase()

IMPORT_C CASYCommandHandlerBase ( ) [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 *)

void ConstructL ( 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,
TUid iImplementationUidAsyHandler
) [static]

Two-phased constructor.

Parameters

CASYMainServiceBase * aAsyMainServiceBase
CASYProxyCommandObserver * aASYProxyCommandObserver
TUid iImplementationUidAsyHandler

ObjectConDataFromProxyL(CAccPolObjectCon &)

IMPORT_C void ObjectConDataFromProxyL ( CAccPolObjectCon & aObjectCon ) const [protected]

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

Method is not meant to be override.

Parameters

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

ProcessCommandL(const TProcessCmdId, const TASYCmdParams &)

IMPORT_C void ProcessCommandL ( const TProcessCmdId aCommand,
const TASYCmdParams & aCmdParams
) [pure virtual]
Processes request command from server.
Since
S60 3.1

Parameters

const TProcessCmdId aCommand Command to process.
const TASYCmdParams & aCmdParams Params of command to process.

ProcessResponseL(const TAccValueTypeTBool, const TInt)

IMPORT_C void ProcessResponseL ( const TAccValueTypeTBool aCmdResponse,
const TInt aErrCode =  KErrNone
) [protected]
ASY calls this after handling ProcessCommandL. Method is not meant to be override.
Since
S60 3.1

Parameters

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

ProcessResponseL(const TAccValueTypeTInt, const TInt)

IMPORT_C void ProcessResponseL ( const TAccValueTypeTInt aCmdResponse,
const TInt aErrCode =  KErrNone
) [protected]
ASY calls this after handling ProcessCommandL. Method is not meant to be override.
Since
S60 3.1

Parameters

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

ProcessResponseL(const TDesC8 &, const TInt)

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

Parameters

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

ProcessResponseL(const CAccPolObjectCon &, const TInt)

IMPORT_C void ProcessResponseL ( const CAccPolObjectCon & aObjectCon,
const TInt aErrCode =  KErrNone
) [protected]

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

Method is not meant to be override.

Parameters

const CAccPolObjectCon & aObjectCon Contains 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]