CCchClientObserver Class Reference

class CCchClientObserver : public CActive

Class for basic cch functionality, getting services

   ?good_class_usage_example(s)

cch

Inherits from

Constructor & Destructor Documentation

CCchClientObserver(CCchServiceImpl &)

CCchClientObserver(CCchServiceImpl &aCchService)[private]

The constructor

Parameters

CCchServiceImpl & aCchServiceCch service factory

~CCchClientObserver()

~CCchClientObserver()

Destructor.

Member Functions Documentation

AddObserver(MCchServiceStatusObserver &)

TInt AddObserver(MCchServiceStatusObserver &aObserver)

Adds observer for listening service events

Parameters

MCchServiceStatusObserver & aObserverEvent observing class

ConstructL()

voidConstructL()[private]

By default Symbian 2nd phase constructor is private.

DoCancel()

voidDoCancel()[private, virtual]

NewL(CCchServiceImpl &)

CCchClientObserver *NewL(CCchServiceImpl &aCchService)[static]

Two-phased constructor.

Parameters

CCchServiceImpl & aCchServiceCch service factory

NewLC(CCchServiceImpl &)

CCchClientObserver *NewLC(CCchServiceImpl &aCchService)[static]

Two-phased constructor.

Parameters

CCchServiceImpl & aCchServiceCch service factory

RemoveObserver()

voidRemoveObserver()

Do not use this anymore, change to RemoveObserver method with paramater

Removes the observer of service events

RemoveObserver(MCchServiceStatusObserver &)

TInt RemoveObserver(MCchServiceStatusObserver &aObserver)

Removes the observer of service events

Parameters

MCchServiceStatusObserver & aObserverEvent observing class

RunError(TInt)

TInt RunError(TIntaError)[private, virtual]

Parameters

TInt aError

RunL()

voidRunL()[private, virtual]

SetObserver(MCchServiceStatusObserver &)

voidSetObserver(MCchServiceStatusObserver &aObserver)

Do not use this anymore, change to AddObserver!

Adds observer for listening service events

Parameters

MCchServiceStatusObserver & aObserverEvent observing class

Member Data Documentation

MCchServiceStatusObserver * iBackwardSupportObserver

MCchServiceStatusObserver *iBackwardSupportObserver[private]

Service observer, not own

CCchServiceImpl & iCchService

CCchServiceImpl &iCchService[private]

cch service factory, not own

RPointerArray< MCchServiceStatusObserver > iObservers

RPointerArray< MCchServiceStatusObserver >iObservers[private]

TPckgBuf< TServiceStatus > iServiceStatus

TPckgBuf< TServiceStatus >iServiceStatus[private]

Stores service status information