CMceCsSession Class Reference

class CMceCsSession : public CSession2

MCE CS session. This class implements Symbian Client-Server session

Since

Inherits from

Public Member Functions
~CMceCsSession()
CMceCsSubSessionReceiver *CreateSubSessionReceiverL()
CMceCsSessionImplementation &Implementation()
CMceCsSession *NewL(CMceServerCore &)
CMceCsSession *NewLC(CMceServerCore &)
CMceCsSessionReceiver *ReceiverL(TMceIds &)
CMceServerCore &ServerCore()
voidServiceL(const RMessage2 &)
TUid Uid()
Private Member Functions
CMceCsSession(CMceServerCore &)
voidCallSubSessionL(TMceIds &, TInt, const RMessage2 &)
voidCancelClientReceiveL(TMceIds &)
voidClientReadyToReceiveL(TMceIds &, const RMessage2 &)
voidConstructL()
voidCreateSubSessionL(TMceIds &, const RMessage2 &)
voidDefaultHeadersL(const RMessage2 &)
voidDeleteSubSessionL(TMceIds &, const RMessage2 &)
voidDoServiceL(TInt, const RMessage2 &)
CMceCsServerITC &ITC()
voidMediaServiceL(TMceIds &, TMceItcFunctions, const RMessage2 &)
voidReceiveL(TMceIds &, const RMessage2 &)
voidSetClientUidL(TMceIds &, const RMessage2 &)
voidStoreDefaultHeadersL(const RMessage2 &)
voidSupportedCodecsL(TInt, const RMessage2 &)
Inherited Functions
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()
CSession2::CSession2()
CSession2::CountResources()
CSession2::Disconnect(const RMessage2 &)
CSession2::Extension_(TUint,TAny *&,TAny *)
CSession2::ResourceCountMarkEnd(const RMessage2 &)
CSession2::ResourceCountMarkStart()
CSession2::Server()const
CSession2::ServiceError(const RMessage2 &,TInt)
CSession2::SetServer(const CServer2 *)
CSession2::~CSession2()
Inherited Enumerations
CSession2:TPanicNo
Private Attributes
TUid iClientUid
CMceCsServerITC *iITC
CMceCsSessionImplementation *iImpl
RPointerArray< CMceCsSessionReceiver >iReceivers
CMceServerCore &iServerCore

Constructor & Destructor Documentation

CMceCsSession(CMceServerCore &)

CMceCsSession(CMceServerCore &aServerCore)[private]

Parameters

CMceServerCore & aServerCore

~CMceCsSession()

~CMceCsSession()

Destructor.

Member Functions Documentation

CallSubSessionL(TMceIds &, TInt, const RMessage2 &)

voidCallSubSessionL(TMceIds &aIds,
TIntaFunction,
const RMessage2 &aMessage
)[private]

Parameters

TMceIds & aIds
TInt aFunction
const RMessage2 & aMessage

CancelClientReceiveL(TMceIds &)

voidCancelClientReceiveL(TMceIds &aIds)[private]

Parameters

TMceIds & aIds

ClientReadyToReceiveL(TMceIds &, const RMessage2 &)

voidClientReadyToReceiveL(TMceIds &aIds,
const RMessage2 &aMessage
)[private]

Parameters

TMceIds & aIds
const RMessage2 & aMessage

ConstructL()

voidConstructL()[private]

CreateSubSessionL(TMceIds &, const RMessage2 &)

voidCreateSubSessionL(TMceIds &aIds,
const RMessage2 &aMessage
)[private]

Parameters

TMceIds & aIds
const RMessage2 & aMessage

CreateSubSessionReceiverL()

CMceCsSubSessionReceiver *CreateSubSessionReceiverL()

Creates subsession receiver

DefaultHeadersL(const RMessage2 &)

voidDefaultHeadersL(const RMessage2 &aMessage)[private]

Parameters

const RMessage2 & aMessage

DeleteSubSessionL(TMceIds &, const RMessage2 &)

voidDeleteSubSessionL(TMceIds &aIds,
const RMessage2 &aMessage
)[private]

Parameters

TMceIds & aIds
const RMessage2 & aMessage

DoServiceL(TInt, const RMessage2 &)

voidDoServiceL(TIntaFunction,
const RMessage2 &aMessage
)[private]

Parameters

TInt aFunction
const RMessage2 & aMessage

ITC()

CMceCsServerITC &ITC()[private]

Implementation()

CMceCsSessionImplementation &Implementation()

Returns implementation

MediaServiceL(TMceIds &, TMceItcFunctions, const RMessage2 &)

voidMediaServiceL(TMceIds &aIds,
TMceItcFunctionsaFunction,
const RMessage2 &aMessage
)[private]

Parameters

TMceIds & aIds
TMceItcFunctions aFunction
const RMessage2 & aMessage

NewL(CMceServerCore &)

CMceCsSession *NewL(CMceServerCore &aServerCore)[static]

Two-phased constructor.

Parameters

CMceServerCore & aServerCorereference to server core.

NewLC(CMceServerCore &)

CMceCsSession *NewLC(CMceServerCore &aServerCore)[static]

Two-phased constructor.

Parameters

CMceServerCore & aServerCore

ReceiveL(TMceIds &, const RMessage2 &)

voidReceiveL(TMceIds &aIds,
const RMessage2 &aMessage
)[private]

Parameters

TMceIds & aIds
const RMessage2 & aMessage

ReceiverL(TMceIds &)

CMceCsSessionReceiver *ReceiverL(TMceIds &aIds)

Gets pointer to receiver based on iManagerType of ids

Parameters

TMceIds & aIdsset of ids defining ITC callback context

ServerCore()

CMceServerCore &ServerCore()

Gets reference to server core

ServiceL(const RMessage2 &)

voidServiceL(const RMessage2 &aMessage)[virtual]

Provides services of MCE server

Parameters

const RMessage2 & aMessage

SetClientUidL(TMceIds &, const RMessage2 &)

voidSetClientUidL(TMceIds &aIds,
const RMessage2 &aMessage
)[private]

Parameters

TMceIds & aIds
const RMessage2 & aMessage

StoreDefaultHeadersL(const RMessage2 &)

voidStoreDefaultHeadersL(const RMessage2 &aMessage)[private]

Parameters

const RMessage2 & aMessage

SupportedCodecsL(TInt, const RMessage2 &)

voidSupportedCodecsL(TIntaFunction,
const RMessage2 &aMessage
)[private]

Parameters

TInt aFunction
const RMessage2 & aMessage

Uid()

TUid Uid()

Gets UID of the client

Member Data Documentation

TUid iClientUid

TUid iClientUid[private]

CMceCsServerITC * iITC

CMceCsServerITC *iITC[private]

CMceCsSessionImplementation * iImpl

CMceCsSessionImplementation *iImpl[private]

RPointerArray< CMceCsSessionReceiver > iReceivers

RPointerArray< CMceCsSessionReceiver >iReceivers[private]

CMceServerCore & iServerCore

CMceServerCore &iServerCore[private]