CSensrvServerMediator Class Reference

class CSensrvServerMediator : public CSensrvMediatorBase

Mediates control flow from plugin thread to sensor server main thread (aka server thread).

Since
S60 5.0

Inherits from

Public Member Functions
~CSensrvServerMediator ()
CSensrvServerMediator * NewL ( CSensrvPluginProxy *)
Protected Member Functions
void HandleNotifyFailure ()
void HandleTransaction ( CSensrvTransaction *)
Private Member Functions
CSensrvServerMediator ()
void ConstructL ( CSensrvPluginProxy *)
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()
CSensrvMediatorBase::BaseConstructL(CSensrvPluginProxy *)
CSensrvMediatorBase::BaseDestruct()
CSensrvMediatorBase::CSensrvMediatorBase()
CSensrvMediatorBase::CompleteRequest(TInt)
CSensrvMediatorBase::DoCancel()
CSensrvMediatorBase::Initialize()
CSensrvMediatorBase::Notify(CSensrvTransaction *)
CSensrvMediatorBase::RemoveAllTransactions()
CSensrvMediatorBase::RemoveSingleTransaction(CSensrvTransaction *)
CSensrvMediatorBase::RunError(TInt)
CSensrvMediatorBase::RunL()
CSensrvMediatorBase::SessionTerminated(CSensrvSession *)
CSensrvMediatorBase::~CSensrvMediatorBase()
Inherited Enumerations
CActive:TPriority
Inherited Attributes
CActive::iStatus
CSensrvMediatorBase::iInitialized
CSensrvMediatorBase::iMutex
CSensrvMediatorBase::iProxy
CSensrvMediatorBase::iQueue
CSensrvMediatorBase::iThread

Constructor & Destructor Documentation

CSensrvServerMediator()

CSensrvServerMediator ( ) [private]

C++ constructor

Since
S60 5.0

~CSensrvServerMediator()

~CSensrvServerMediator ( ) [virtual]

Destructor.

Member Functions Documentation

ConstructL(CSensrvPluginProxy *)

void ConstructL ( CSensrvPluginProxy * aProxy ) [private]

2nd phase of construction

Since
S60 5.0

Parameters

CSensrvPluginProxy * aProxy

HandleNotifyFailure()

void HandleNotifyFailure ( ) [protected, virtual]

Handles notify failure

Since
S60 5.0

HandleTransaction(CSensrvTransaction *)

void HandleTransaction ( CSensrvTransaction * aTransaction ) [protected, virtual]

Handles transaction. Handling depends on mediator type, so this must be implemented in inheriting class.

Since
S60 5.0

Parameters

CSensrvTransaction * aTransaction The transaction to be handled.

NewL(CSensrvPluginProxy *)

CSensrvServerMediator * NewL ( CSensrvPluginProxy * aProxy ) [static]

Two phase constructor

Since
S60 5.0
Exceptions
KErrNoMemory

Out of memory

Parameters

CSensrvPluginProxy * aProxy The proxy controlling related plugin.