CMdaServer Class Reference

#include <mda/client/utility.h>

Link against: mediaclient.lib

class CMdaServer : public CBase

Inherits from

  • CMdaServer

    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.

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

    Member Function Documentation

    AddListenerL ( MMdaObjectEventListener & )

    IMPORT_C voidAddListenerL(MMdaObjectEventListener &aListener)

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

    ParameterDescription
    aListenerThe object event listener to add to the list.

    NewL ( )

    IMPORT_C CMdaServer *NewL()[static]

    Connects to and starts the media server.

    Returns: 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.

    ParameterDescription
    aListenerThe object event listener to remove from the list.