CMceComEndpoint Class Reference

class CMceComEndpoint : public CBase

Inherits from

Public Member Functions
~CMceComEndpoint()
TMceComFactory BaseFactory()
TMceEndpointCategory Category()
MMceComEndPointProxy *CreateEndpointProxyL()
voidEnabled(TBool)
MMceComEndPointProxy *EndpointProxy()
TInt EventReceivedL(TMceComEvent &)
voidExternalizeFlatL(RWriteStream &)
voidExternalizeL(MMceComSerializationContext &)
TMceMediaId Id()
voidInitializeL(CMceComMediaStream &)
voidInternalizeFlatL(RReadStream &)
voidInternalizeL(MMceComSerializationContext &)
TBool IsEnabled(TBool)
CMceComMediaStream *MediaStream()
TInt &ReferenceCount()
TBool Reusable(const CMceComMediaStream &)
CMceItcSender &SenderL(RMce &)
TUint64 SerializationId()
voidSetupEndpointProxyL(MMceComEndPointProxy *)
voidStreamAddedL(CMceComMediaStream &)
TUint8 Type()
voidUnInitialize(CMceComMediaStream &)
TBool UseRTCP()
TBool UsesEndpointProxy()
TBool operator==(const CMceComEndpoint &)
Protected Member Functions
CMceComEndpoint(TMceEndpointCategory, TUint8)
voidBaseUpdateL(CMceComEndpoint &)
voidZero()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
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()
Public Attributes
TMceEndpointCategory iCategory
TMceMediaId iID
TInt iReferenceCount
TUint8 iType
Protected Attributes
MMceComEndPointProxy *iEndpointProxy
TBool iIsEnabled
CMceItcSender *iItcSender
Private Attributes
RPointerArray< CMceComMediaStream >iParents
CMceComMediaStream *iStream

Constructor & Destructor Documentation

CMceComEndpoint(TMceEndpointCategory, TUint8)

CMceComEndpoint(TMceEndpointCategoryaCategory,
TUint8aType
)[protected]

C++ default constructor.

Parameters

TMceEndpointCategory aCategory
TUint8 aType

~CMceComEndpoint()

~CMceComEndpoint()

Member Functions Documentation

BaseFactory()

TMceComFactory BaseFactory()

Factory

BaseUpdateL(CMceComEndpoint &)

voidBaseUpdateL(CMceComEndpoint &aEndpoint)[protected]

Updates

Parameters

CMceComEndpoint & aEndpointan endpoint

Category()

TMceEndpointCategory Category()const

Return category of endpoint.

CreateEndpointProxyL()

MMceComEndPointProxy *CreateEndpointProxyL()const [virtual]

Called endpoint proxy must be created

Enabled(TBool)

voidEnabled(TBoolaValue)

Sets enabled flag

Parameters

TBool aValueenabled/disabled

EndpointProxy()

MMceComEndPointProxy *EndpointProxy()const

Returns endpoint proxy

EventReceivedL(TMceComEvent &)

TInt EventReceivedL(TMceComEvent &aEvent)[pure virtual]

Traversal event handler

Parameters

TMceComEvent & aEventthe event

ExternalizeFlatL(RWriteStream &)

voidExternalizeFlatL(RWriteStream &aWriteStream)

Externalizes flat data

Parameters

RWriteStream & aWriteStreamwrite stream

ExternalizeL(MMceComSerializationContext &)

voidExternalizeL(MMceComSerializationContext &aSerCtx)

Externalizes

Parameters

MMceComSerializationContext & aSerCtxcontext for serialization

Id()

TMceMediaId Id()const

ID

InitializeL(CMceComMediaStream &)

voidInitializeL(CMceComMediaStream &aParent)[virtual]

Initializes

Parameters

CMceComMediaStream & aParentthe parent

InternalizeFlatL(RReadStream &)

voidInternalizeFlatL(RReadStream &aReadStream)

Internalizes flat data

Parameters

RReadStream & aReadStreamread stream

InternalizeL(MMceComSerializationContext &)

voidInternalizeL(MMceComSerializationContext &aSerCtx)

Internalizes

Parameters

MMceComSerializationContext & aSerCtxcontext for serialization

IsEnabled(TBool)

TBool IsEnabled(TBoolaLocally =  KMceEnabledLocal )const [virtual]

Returns ETrue, if enabled

Parameters

TBool aLocally =  KMceEnabledLocal

MediaStream()

CMceComMediaStream *MediaStream()const

Parent object

ReferenceCount()

TInt &ReferenceCount()

Sets and gets reference count describing to how many streams sink is associated

Reusable(const CMceComMediaStream &)

TBool Reusable(const CMceComMediaStream &aParent)const [virtual]

Is this endpoint re-usable

Parameters

const CMceComMediaStream & aParent

SenderL(RMce &)

CMceItcSender &SenderL(RMce &aItcProvider)

Gets itc sender.

Parameters

RMce & aItcProvider

SerializationId()

TUint64 SerializationId()const

Returns serialization id

SetupEndpointProxyL(MMceComEndPointProxy *)

voidSetupEndpointProxyL(MMceComEndPointProxy *aEndpointProxy)

Called when stream bundle has beed added to prepare proxy for it

Parameters

MMceComEndPointProxy * aEndpointProxyendpoint proxy setup by another endpoint or NULL

StreamAddedL(CMceComMediaStream &)

voidStreamAddedL(CMceComMediaStream &aParent)[virtual]

Stream has been added to session

Parameters

CMceComMediaStream & aParentthe parent stream

Type()

TUint8 Type()const

Returns type of endpoint. NOTE, sources and sinks have currently overlapping type values so type value checking is not safe without knowing endpoint category. TBD: remove overlapping from API

UnInitialize(CMceComMediaStream &)

voidUnInitialize(CMceComMediaStream &aParent)

Stream is been deleted

Parameters

CMceComMediaStream & aParentthe parent stream

UseRTCP()

TBool UseRTCP()[virtual]

Should use RTCP return ETrue, if uses RTCP

UsesEndpointProxy()

TBool UsesEndpointProxy()const [virtual]

Should this endpoint use endpoint proxy

Zero()

voidZero()[protected]

Zeroes instance (used in cloning)

operator==(const CMceComEndpoint &)

TBool operator==(const CMceComEndpoint &aEndpoint)const

equal operator

Parameters

const CMceComEndpoint & aEndpointthe enpoint

Member Data Documentation

TMceEndpointCategory iCategory

TMceEndpointCategory iCategory

category of endpoint

MMceComEndPointProxy * iEndpointProxy

MMceComEndPointProxy *iEndpointProxy[protected]

proxy

TMceMediaId iID

TMceMediaId iID

ID

TBool iIsEnabled

TBool iIsEnabled[protected]

Is enabled

CMceItcSender * iItcSender

CMceItcSender *iItcSender[protected]

Itc sender used by client when endpoint is not attached to session.

RPointerArray< CMceComMediaStream > iParents

RPointerArray< CMceComMediaStream >iParents[private]

Parent streams

TInt iReferenceCount

TInt iReferenceCount

reference count

CMceComMediaStream * iStream

CMceComMediaStream *iStream[private]

Parent stream (one of)

TUint8 iType

TUint8 iType

type of endpoint