|
MythTV master
|
#include <libmythupnp/upnp.h>
Public Slots | |
| static void | DisableNotifications (std::chrono::milliseconds) |
| void | EnableNotificatins (std::chrono::milliseconds) const |
Public Member Functions | |
| UPnp () | |
| ~UPnp () override | |
| bool | Initialize (int nServicePort, HttpServer *pHttpServer) |
| bool | Initialize (QList< QHostAddress > &sIPAddrList, int nServicePort, HttpServer *pHttpServer) |
| bool | isInitialized () |
| virtual void | Start () |
| HttpServer * | GetHttpServer () |
Static Public Member Functions | |
| static void | CleanUp () |
| static UPnpDevice * | RootDevice () |
| static UPnpDeviceDesc * | GetDeviceDesc (QString &sURL) |
| static QString | GetResultDesc (UPnPResultCode eCode) |
| static void | FormatErrorResponse (HTTPRequest *pRequest, UPnPResultCode eCode, const QString &sMsg="") |
| static void | FormatRedirectResponse (HTTPRequest *pRequest, const QString &hostName) |
Static Public Attributes | |
| static UPnpDeviceDesc | g_UPnpDeviceDesc |
| static QList< QHostAddress > | g_IPAddrList |
Protected Attributes | |
| HttpServer * | m_pHttpServer {nullptr} |
| int | m_nServicePort {0} |
Private Attributes | |
| MythPower * | m_power |
|
staticslot |
|
slot |
|
static |
Definition at line 243 of file upnp.cpp.
Referenced by ServiceHost::FormatResponse(), UPnpCDS::HandleBrowse(), UPnpCMGR::HandleGetCurrentConnectionInfo(), UPnpCDS::HandleSearch(), Eventing::ProcessRequest(), UPnpCDS::ProcessRequest(), UPnpCMGR::ProcessRequest(), UPnpMSRR::ProcessRequest(), MythFEXML::ProcessRequest(), and ServiceHost::ProcessRequest().
|
static |
Definition at line 282 of file upnp.cpp.
Referenced by ServiceHost::ProcessRequest().
|
static |
|
inline |
Definition at line 126 of file upnp.h.
Referenced by run_backend().
|
static |
Definition at line 182 of file upnp.cpp.
Referenced by FormatErrorResponse().
| bool UPnp::Initialize | ( | int | nServicePort, |
| HttpServer * | pHttpServer | ||
| ) |
Definition at line 75 of file upnp.cpp.
Referenced by MediaServer::Init(), Initialize(), and MediaRenderer::MediaRenderer().
| bool UPnp::Initialize | ( | QList< QHostAddress > & | sIPAddrList, |
| int | nServicePort, | ||
| HttpServer * | pHttpServer | ||
| ) |
|
inlinestatic |
Definition at line 124 of file upnp.h.
Referenced by MediaServer::Init(), and MediaRenderer::MediaRenderer().
|
virtual |
Definition at line 145 of file upnp.cpp.
Referenced by MediaServer::Init(), and MediaRenderer::MediaRenderer().
|
static |
Definition at line 108 of file upnp.h.
Referenced by HttpStatus::FillStatusXML(), V2Status::FillStatusXML(), Initialize(), UPnpNotifyTask::SendNotifyMsg(), and UPNPSubscription::UPNPSubscription().
|
static |
Definition at line 107 of file upnp.h.
Referenced by UPnpNotifyTask::Execute(), UPnpSearchTask::Execute(), SSDPExtension::GetDeviceDesc(), MediaServer::Init(), MediaRenderer::MediaRenderer(), and ProcessSearchRequest().
|
protected |
Definition at line 103 of file upnp.h.
Referenced by EnableNotificatins(), Initialize(), and Start().
|
protected |
Definition at line 102 of file upnp.h.
Referenced by MediaServer::Init(), Initialize(), MediaRenderer::MediaRenderer(), MediaRenderer::~MediaRenderer(), and MediaServer::~MediaServer().
|
private |