CMdaServer Class Reference

#include <mda/client/utility.h>

Link against: mediaclient.lib

class CMdaServer : public CBase

Inherits from

Detailed Description

Deprecated

This class has been deprecated in 7.0s.

Constructor & Destructor Documentation

~CMdaServer ( )

IMPORT_C~CMdaServer()

Destructor. Closes the session with the media server.

Not all event listeners that were added to the server have been removed.
The client has resources still open in the server.
Panic Codes
EMdaUtilServerListenerListNotEmpty
EMdaClientBaseSessionHasOpenObjects

Member Function Documentation

AddListenerL ( MMdaObjectEventListener & )

IMPORT_C voidAddListenerL(MMdaObjectEventListener &aListener)

Adds an object event listener, so that events can be passed to it.

Parameters
aListenerThe object event listener to add to the list.

NewL ( )

IMPORT_C CMdaServer *NewL()[static]

Connects to and starts the media server.

Return Value
The connected session with the media server.

RemoveListener ( MMdaObjectEventListener & )

IMPORT_C voidRemoveListener(MMdaObjectEventListener &aListener)

Removes an object event listener so that events can no longer be passed to it.

The specified listener must be in the list, or a panic occurs.

Parameters
aListenerThe object event listener to remove from the list.