sipxmediaadapterlib
Version 3.3
|
Dispatcher to translate MediaLib notifications into abstracted MediaAdapterLib notifications. More...
#include <MaNotfTranslatorDispatcher.h>
Public Member Functions | |
Creators | |
MaNotfTranslatorDispatcher (OsMsgDispatcher *pAbstractedMsgDispatcher=NULL) | |
Default constructor. More... | |
virtual | ~MaNotfTranslatorDispatcher () |
Destructor. More... | |
Manipulators | |
virtual OsMsgDispatcher * | setDispatcher (OsMsgDispatcher *pMIDispatcher) |
virtual OsStatus | post (const OsMsg &msg) |
virtual OsStatus | receive (OsMsg *&rpMsg, const OsTime &rTimeout=OsTime::OS_INFINITY) |
Accessors | |
virtual OsMsgDispatcher * | getDispatcher () const |
Get the media interface dispatcher currently set on this translator dispatcher. More... | |
Inquiry | |
virtual UtlBoolean | hasDispatcher () const |
Protected Attributes | |
OsMsgDispatcher * | mpAbstractedMsgDispatcher |
Dispatcher to translate MediaLib notifications into abstracted MediaAdapterLib notifications.
This message dispatcher is used to receive notifications from the mediaLib layer, then convert those messages to more abstract mediaAdapter notification messages and send them off again to another, supplied dispatcher.
MaNotfTranslatorDispatcher | ( | OsMsgDispatcher * | pAbstractedMsgDispatcher = NULL | ) |
Default constructor.
|
virtual |
Destructor.
|
virtual |
Set the media interface dispatcher that will receive the converted abstract notifications.
|
virtual |
|
virtual |
|
virtual |
Get the media interface dispatcher currently set on this translator dispatcher.
|
virtual |
Return whether this translator has a dispatcher to receive notifications from set on it or not.
|
protected |