CMceComEndpoint Class Reference

class CMceComEndpoint : public CBase

Inherits from

Public Member Functions
~CMceComEndpoint ()
TMceComFactory BaseFactory ()
TMceEndpointCategory Category ()
MMceComEndPointProxy * CreateEndpointProxyL ()
void Enabled ( TBool )
MMceComEndPointProxy * EndpointProxy ()
TInt EventReceivedL ( TMceComEvent &)
void ExternalizeFlatL ( RWriteStream &)
void ExternalizeL ( MMceComSerializationContext &)
TMceMediaId Id ()
void InitializeL ( CMceComMediaStream &)
void InternalizeFlatL ( RReadStream &)
void InternalizeL ( MMceComSerializationContext &)
TBool IsEnabled ( TBool )
CMceComMediaStream * MediaStream ()
TInt & ReferenceCount ()
TBool Reusable (const CMceComMediaStream &)
CMceItcSender & SenderL ( RMce &)
TUint64 SerializationId ()
void SetupEndpointProxyL ( MMceComEndPointProxy *)
void StreamAddedL ( CMceComMediaStream &)
TUint8 Type ()
void UnInitialize ( CMceComMediaStream &)
TBool UseRTCP ()
TBool UsesEndpointProxy ()
TBool operator== (const CMceComEndpoint &)
Protected Member Functions
CMceComEndpoint ( TMceEndpointCategory , TUint8 )
void BaseUpdateL ( CMceComEndpoint &)
void Zero ()
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 ( TMceEndpointCategory aCategory,
TUint8 aType
) [protected]

C++ default constructor.

Parameters

TMceEndpointCategory aCategory
TUint8 aType

~CMceComEndpoint()

~CMceComEndpoint ( )

Member Functions Documentation

BaseFactory()

TMceComFactory BaseFactory ( )

Factory

BaseUpdateL(CMceComEndpoint &)

void BaseUpdateL ( CMceComEndpoint & aEndpoint ) [protected]

Updates

Parameters

CMceComEndpoint & aEndpoint an endpoint

Category()

TMceEndpointCategory Category ( ) const

Return category of endpoint.

CreateEndpointProxyL()

MMceComEndPointProxy * CreateEndpointProxyL ( ) const [virtual]

Called endpoint proxy must be created

Enabled(TBool)

void Enabled ( TBool aValue )

Sets enabled flag

Parameters

TBool aValue enabled/disabled

EndpointProxy()

MMceComEndPointProxy * EndpointProxy ( ) const

Returns endpoint proxy

EventReceivedL(TMceComEvent &)

TInt EventReceivedL ( TMceComEvent & aEvent ) [pure virtual]

Traversal event handler

Parameters

TMceComEvent & aEvent the event

ExternalizeFlatL(RWriteStream &)

void ExternalizeFlatL ( RWriteStream & aWriteStream )

Externalizes flat data

Parameters

RWriteStream & aWriteStream write stream

ExternalizeL(MMceComSerializationContext &)

void ExternalizeL ( MMceComSerializationContext & aSerCtx )

Externalizes

Parameters

MMceComSerializationContext & aSerCtx context for serialization

Id()

TMceMediaId Id ( ) const

ID

InitializeL(CMceComMediaStream &)

void InitializeL ( CMceComMediaStream & aParent ) [virtual]

Initializes

Parameters

CMceComMediaStream & aParent the parent

InternalizeFlatL(RReadStream &)

void InternalizeFlatL ( RReadStream & aReadStream )

Internalizes flat data

Parameters

RReadStream & aReadStream read stream

InternalizeL(MMceComSerializationContext &)

void InternalizeL ( MMceComSerializationContext & aSerCtx )

Internalizes

Parameters

MMceComSerializationContext & aSerCtx context for serialization

IsEnabled(TBool)

TBool IsEnabled ( TBool aLocally =  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 *)

void SetupEndpointProxyL ( MMceComEndPointProxy * aEndpointProxy )

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

Parameters

MMceComEndPointProxy * aEndpointProxy endpoint proxy setup by another endpoint or NULL

StreamAddedL(CMceComMediaStream &)

void StreamAddedL ( CMceComMediaStream & aParent ) [virtual]

Stream has been added to session

Parameters

CMceComMediaStream & aParent the 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 &)

void UnInitialize ( CMceComMediaStream & aParent )

Stream is been deleted

Parameters

CMceComMediaStream & aParent the 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()

void Zero ( ) [protected]

Zeroes instance (used in cloning)

operator==(const CMceComEndpoint &)

TBool operator== ( const CMceComEndpoint & aEndpoint ) const

equal operator

Parameters

const CMceComEndpoint & aEndpoint the 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