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 & aManager Reference to manager.

~CMceFcMsgExchange()

~CMceFcMsgExchange ( ) [virtual]

Destructor.

Member Functions Documentation

ConstructL(const TDesC8 &)

void ConstructL ( const TDesC8 & aType ) [private]

2nd phase constructor.

Parameters

const TDesC8 & aType Type identifier of messages, like 'TBCP'.

InitializeL(CMceSession &, TInt, MMceFcMsgObserver &)

IMPORT_C void InitializeL ( CMceSession & aSession,
TInt aPort,
MMceFcMsgObserver & aObserver
)

Initializes floor control for the session.

Parameters

CMceSession & aSession Reference to session.
TInt aPort Port to be used.
MMceFcMsgObserver & aObserver Observer of the client.

MediaAttributeLinesL(CMceSession &)

IMPORT_C MDesC8Array * MediaAttributeLinesL ( CMceSession & aSession )

Gets attribute lines of the media.

Parameters

CMceSession & aSession Reference to session.

NewL(CMceManager &, const TDesC8 &)

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

Two-phased constructor.

Parameters

CMceManager & aManager Reference to manager.
const TDesC8 & aType Type identifier of messages, like 'TBCP'.

SendL(CMceSession &, HBufC8 *)

IMPORT_C void SendL ( CMceSession & aSession,
HBufC8 * aMessage
)

Sends floor control message to recipient.

Parameters

CMceSession & aSession Reference to session.
HBufC8 * aMessage Floor control message to be sent. Ownership is transferred.

UpdateL(CMceSession &, CDesC8Array *)

IMPORT_C void UpdateL ( 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 & aSession Reference to session.
CDesC8Array * aMediaAttributeLines Media 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]