|
OPAL
Version 3.18.8
|
#include <msrp.h>
Inherits PObject.

Data Structures | |
| class | Connection |
| struct | IncomingMSRP |
Public Types | |
| enum | { DefaultPort = 2855 } |
| typedef PNotifierTemplate < IncomingMSRP & > | CallBack |
Public Member Functions | |
| OpalMSRPManager (OpalManager &opal, WORD port=DefaultPort) | |
| ~OpalMSRPManager () | |
| bool | GetLocalPort (WORD &port) |
| PSafePtr< Connection > | OpenConnection (const PURL &localURL, const PURL &remoteURL) |
| bool | CloseConnection (PSafePtr< OpalMSRPManager::Connection > &connection) |
| std::string | CreateSessionID () |
| PURL | SessionIDToURL (const OpalTransportAddress &addr, const std::string &id) |
| void | ListenerThread () |
| void | DispatchMessage (IncomingMSRP &incomingMsg) |
| void | SetNotifier (const PURL &localUrl, const PURL &remoteURL, const CallBack ¬ifier) |
| void | RemoveNotifier (const PURL &localUrl, const PURL &remoteURL) |
| OpalManager & | GetOpalManager () |
Protected Types | |
| typedef std::map< PString, PSafePtr< Connection > > | ConnectionInfoMapType |
| typedef std::map< PString, CallBack > | CallBackMap |
Protected Member Functions | |
| PDECLARE_MUTEX (mutex) | |
| PDECLARE_MUTEX (m_connectionInfoMapAddMutex) | |
| PDECLARE_MUTEX (m_callBacksMutex) | |
Protected Attributes | |
| OpalManager & | opalManager |
| WORD | m_listenerPort |
| PTCPSocket | m_listenerSocket |
| PThread * | m_listenerThread |
| ConnectionInfoMapType | m_connectionInfoMap |
| CallBackMap | m_callBacks |
| typedef PNotifierTemplate<IncomingMSRP &> OpalMSRPManager::CallBack |
|
protected |
|
protected |
| OpalMSRPManager::OpalMSRPManager | ( | OpalManager & | opal, |
| WORD | port = DefaultPort |
||
| ) |
| OpalMSRPManager::~OpalMSRPManager | ( | ) |
| bool OpalMSRPManager::CloseConnection | ( | PSafePtr< OpalMSRPManager::Connection > & | connection | ) |
| std::string OpalMSRPManager::CreateSessionID | ( | ) |
| void OpalMSRPManager::DispatchMessage | ( | IncomingMSRP & | incomingMsg | ) |
| bool OpalMSRPManager::GetLocalPort | ( | WORD & | port | ) |
|
inline |
References opalManager.
| void OpalMSRPManager::ListenerThread | ( | ) |
| PSafePtr<Connection> OpalMSRPManager::OpenConnection | ( | const PURL & | localURL, |
| const PURL & | remoteURL | ||
| ) |
|
protected |
|
protected |
|
protected |
| void OpalMSRPManager::RemoveNotifier | ( | const PURL & | localUrl, |
| const PURL & | remoteURL | ||
| ) |
| PURL OpalMSRPManager::SessionIDToURL | ( | const OpalTransportAddress & | addr, |
| const std::string & | id | ||
| ) |
| void OpalMSRPManager::SetNotifier | ( | const PURL & | localUrl, |
| const PURL & | remoteURL, | ||
| const CallBack & | notifier | ||
| ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by GetOpalManager().