|
MythTV master
|
#include <libmythupnp/ssdp.h>
Public Member Functions | |
| ~SSDP () | |
| void | PerformSearch (const QString &sST, std::chrono::seconds timeout=2s) |
| Send a SSDP discover multicast datagram. More... | |
| void | EnableNotifications (int nServicePort) |
| void | DisableNotifications () |
| int | getNotificationPort () const |
Static Public Member Functions | |
| static SSDP * | Instance () |
| static void | Shutdown () |
Static Public Attributes | |
| static const QString | kBackendURI = "urn:schemas-mythtv-org:device:MasterMediaServer:1" |
Private Member Functions | |
| SSDP () | |
Private Attributes | |
| int | m_nServicePort {0} |
| class UPnpNotifyTask * | m_pNotifyTask {nullptr} |
| SSDPReceiver | m_receiver |
Static Private Attributes | |
| static SSDP * | g_pSSDP = nullptr |
|
private |
Definition at line 78 of file ssdp.cpp.
Referenced by Instance().
| void SSDP::DisableNotifications | ( | ) |
Definition at line 143 of file ssdp.cpp.
Referenced by UPnp::CleanUp(), UPnp::DisableNotifications(), and ~SSDP().
| void SSDP::EnableNotifications | ( | int | nServicePort | ) |
Definition at line 105 of file ssdp.cpp.
Referenced by UPnp::EnableNotificatins(), and UPnp::Start().
|
inline |
Definition at line 90 of file ssdp.h.
Referenced by SSDPReceiver::processPendingDatagrams().
|
static |
Definition at line 57 of file ssdp.cpp.
Referenced by UPnp::CleanUp(), MythContext::Impl::DefaultUPnP(), UPnp::DisableNotifications(), UPnp::EnableNotificatins(), BackendSelection::Load(), main(), MediaRenderer::MediaRenderer(), SatIP::probeDevices(), VBox::probeDevices(), SSDPReceiver::processPendingDatagrams(), UPnp::Start(), and MythContext::Impl::UPnPautoconf().
| void SSDP::PerformSearch | ( | const QString & | sST, |
| std::chrono::seconds | timeout = 2s |
||
| ) |
Send a SSDP discover multicast datagram.
Definition at line 154 of file ssdp.cpp.
Referenced by MythContext::Impl::DefaultUPnP(), BackendSelection::Load(), main(), MediaRenderer::MediaRenderer(), SatIP::probeDevices(), VBox::probeDevices(), and MythContext::Impl::UPnPautoconf().
|
static |
Definition at line 67 of file ssdp.cpp.
Referenced by MythContext::~MythContext().
|
staticprivate |
Definition at line 59 of file ssdp.h.
Referenced by Instance(), and Shutdown().
|
inlinestatic |
Definition at line 77 of file ssdp.h.
Referenced by MythContext::Impl::DefaultUPnP(), BackendSelection::Init(), BackendSelection::Load(), and MythContext::Impl::UPnPautoconf().
|
private |
Definition at line 61 of file ssdp.h.
Referenced by EnableNotifications().
|
private |
Definition at line 63 of file ssdp.h.
Referenced by DisableNotifications(), EnableNotifications(), and ~SSDP().
|
private |
Definition at line 65 of file ssdp.h.
Referenced by PerformSearch().