CASYProxyCommsService Class Reference

class CASYProxyCommsService : public CBase

Creates communication channel to Accessory server using RAccessoryAsyComms -client. Creates CASYCommandHandlerBase -object, handler part of ASY.

ASYProxy.dll
Since
S60 3.1

Inherits from

Constructor & Destructor Documentation

CASYProxyCommsService(const TUid)

CASYProxyCommsService ( const TUid aHandlerUid ) [private]

C++ default constructor.

Parameters

const TUid aHandlerUid

~CASYProxyCommsService()

~CASYProxyCommsService ( ) [virtual]

Destructor.

Member Functions Documentation

ConstructL(const TUid)

void ConstructL ( const TUid aMainServiceUid ) [private]

By default Symbian 2nd phase constructor is private.

Parameters

const TUid aMainServiceUid

ConstructL()

void ConstructL ( ) [private]

By default Symbian 2nd phase constructor is private.

CreateAsyCommandHandlerL(CASYProxyCommandObserver *)

void CreateAsyCommandHandlerL ( CASYProxyCommandObserver * aASYProxyCommandObserver )
Creates CASYCommandHandlerBase -object.
Since
S60 3.1

Parameters

CASYProxyCommandObserver * aASYProxyCommandObserver Pointer to Observer object

Destroy(TInt)

void Destroy ( TInt aTrId ) [private]

Parameters

TInt aTrId

GetServerSession()

RAccessoryServer & GetServerSession ( )
Gets session to Accessory server
Since
S60 3.1

NewL(const TUid, const TUid)

CASYProxyCommsService * NewL ( const TUid aHandlerUid,
const TUid aMainServiceUid
) [static]

Two-phased constructor.

Parameters

const TUid aHandlerUid
const TUid aMainServiceUid

UpdateAsyCommsStackL()

void UpdateAsyCommsStackL ( ) [private]

Member Data Documentation

CASYCommandHandlerBase * iAsyCmdHndlr

CASYCommandHandlerBase * iAsyCmdHndlr [private]

RAccessoryAsyComms iAsyComms

RAccessoryAsyComms iAsyComms [private]

CASYMainServiceBase * iAsyMainServiceBase

CASYMainServiceBase * iAsyMainServiceBase

CASYProxyCommsStack * iAsyProxyCommsStack

CASYProxyCommsStack * iAsyProxyCommsStack [private]

TUid iHandlerUid

TUid iHandlerUid [private]

RAccessoryServer iServer

RAccessoryServer iServer [private]

CASYProxyCommandObserver * iZeroObserver

CASYProxyCommandObserver * iZeroObserver [private]