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 |
bool UPnp::Initialize | ( | int | nServicePort, |
HttpServer * | pHttpServer | ||
) |
Definition at line 74 of file upnp.cpp.
Referenced by MediaServer::Init(), and MediaRenderer::MediaRenderer().
bool UPnp::Initialize | ( | QList< QHostAddress > & | sIPAddrList, |
int | nServicePort, | ||
HttpServer * | pHttpServer | ||
) |
|
virtual |
Definition at line 144 of file upnp.cpp.
Referenced by MediaServer::Init(), and MediaRenderer::MediaRenderer().
|
inlinestatic |
Definition at line 126 of file upnp.h.
Referenced by MediaServer::Init(), and MediaRenderer::MediaRenderer().
|
inline |
Definition at line 128 of file upnp.h.
Referenced by run_backend().
|
static |
|
static |
Definition at line 181 of file upnp.cpp.
Referenced by FormatErrorResponse().
|
static |
Definition at line 242 of file upnp.cpp.
Referenced by ServiceHost::FormatResponse(), UPnpCDS::HandleBrowse(), UPnpCMGR::HandleGetCurrentConnectionInfo(), UPnpCDS::HandleSearch(), MythFEXML::ProcessRequest(), UPnpMSRR::ProcessRequest(), ServiceHost::ProcessRequest(), UPnpCMGR::ProcessRequest(), Eventing::ProcessRequest(), and UPnpCDS::ProcessRequest().
|
static |
Definition at line 281 of file upnp.cpp.
Referenced by ServiceHost::ProcessRequest().
|
staticslot |
|
slot |
|
protected |
Definition at line 104 of file upnp.h.
Referenced by MediaServer::Init(), Initialize(), MediaRenderer::MediaRenderer(), MediaRenderer::~MediaRenderer(), and MediaServer::~MediaServer().
|
protected |
Definition at line 105 of file upnp.h.
Referenced by EnableNotificatins(), Initialize(), and Start().
|
static |
Definition at line 109 of file upnp.h.
Referenced by UPnpSearchTask::Execute(), UPnpNotifyTask::Execute(), SSDPExtension::GetDeviceDesc(), MediaServer::Init(), MediaRenderer::MediaRenderer(), and SSDP::ProcessSearchRequest().
|
static |
Definition at line 110 of file upnp.h.
Referenced by UPnpSearchTask::Execute(), HttpStatus::FillStatusXML(), V2Status::FillStatusXML(), Initialize(), UPnpNotifyTask::SendNotifyMsg(), and UPNPSubscription::UPNPSubscription().
|
private |