CMceFcMsgExchange Class Reference

class CMceFcMsgExchange : public CBase

The class of the MCE Floor Control.

It allows sending of floor control messages into network.

Class MMceFcMsgObserver is used for receiving messages from network.

mceclient.lib

Inherits from

Constructor & Destructor Documentation

CMceFcMsgExchange(CMceManager &)

CMceFcMsgExchange(CMceManager &aManager)[private]

C++ default constructor.

Parameters

CMceManager & aManagerReference to manager.

~CMceFcMsgExchange()

~CMceFcMsgExchange()[virtual]

Destructor.

Member Functions Documentation

ConstructL(const TDesC8 &)

voidConstructL(const TDesC8 &aType)[private]

2nd phase constructor.

Parameters

const TDesC8 & aTypeType identifier of messages, like 'TBCP'.

InitializeL(CMceSession &, TInt, MMceFcMsgObserver &)

IMPORT_C voidInitializeL(CMceSession &aSession,
TIntaPort,
MMceFcMsgObserver &aObserver
)

Initializes floor control for the session.

Parameters

CMceSession & aSessionReference to session.
TInt aPortPort to be used.
MMceFcMsgObserver & aObserverObserver of the client.

MediaAttributeLinesL(CMceSession &)

IMPORT_C MDesC8Array *MediaAttributeLinesL(CMceSession &aSession)

Gets attribute lines of the media.

Parameters

CMceSession & aSessionReference to session.

NewL(CMceManager &, const TDesC8 &)

IMPORT_C CMceFcMsgExchange *NewL(CMceManager &aManager,
const TDesC8 &aType
)[static]

Two-phased constructor.

Parameters

CMceManager & aManagerReference to manager.
const TDesC8 & aTypeType identifier of messages, like 'TBCP'.

SendL(CMceSession &, HBufC8 *)

IMPORT_C voidSendL(CMceSession &aSession,
HBufC8 *aMessage
)

Sends floor control message to recipient.

Parameters

CMceSession & aSessionReference to session.
HBufC8 * aMessageFloor control message to be sent. Ownership is transferred.

UpdateL(CMceSession &, CDesC8Array *)

IMPORT_C voidUpdateL(CMceSession &aSession,
CDesC8Array *aMediaAttributeLines
)

Updates SDP media attribute lines. In order to get complete update, whole session must be updated causing sending of re-invite.

Parameters

CMceSession & aSessionReference to session.
CDesC8Array * aMediaAttributeLinesMedia specific SDP attribute lines. Ownership is transferred.

Member Data Documentation

CMceManager & iManager

CMceManager &iManager[private]

CMceItcSender * iSender

CMceItcSender *iSender[private]

HBufC8 * iType

HBufC8 *iType[private]