#include <upnp.h>

Definition at line 93 of file upnp.h.
Public Member Functions | |
| UPnp () | |
| virtual | ~UPnp () |
| void | SetConfiguration (Configuration *pConfig) |
| bool | Initialize (int nServicePort, HttpServer *pHttpServer) |
| bool | Initialize (QStringList &sIPAddrList, int nServicePort, HttpServer *pHttpServer) |
| virtual void | Start () |
| void | CleanUp (void) |
| UPnpDevice * | RootDevice () |
| HttpServer * | GetHttpServer () |
Static Public Member Functions | |
| static void | PerformSearch (const QString &sST) |
| static void | AddListener (QObject *listener) |
| static void | RemoveListener (QObject *listener) |
| static SSDPCacheEntries * | Find (const QString &sURI) |
| static DeviceLocation * | Find (const QString &sURI, const QString &sUSN) |
| static UPnpDeviceDesc * | GetDeviceDesc (QString &sURL, bool bInQtThread=TRUE) |
| static QString | GetResultDesc (UPnPResultCode eCode) |
| static void | FormatErrorResponse (HTTPRequest *pRequest, UPnPResultCode eCode, const QString &sMsg="") |
Static Public Attributes | |
| static Configuration * | g_pConfig = NULL |
| static UPnpDeviceDesc | g_UPnpDeviceDesc |
| static TaskQueue * | g_pTaskQueue = NULL |
| static SSDP * | g_pSSDP = NULL |
| static SSDPCache | g_SSDPCache |
| static QStringList | g_IPAddrList |
Protected Attributes | |
| HttpServer * | m_pHttpServer |
| int | m_nServicePort |
| void UPnp::SetConfiguration | ( | Configuration * | pConfig | ) |
Definition at line 59 of file upnp.cpp.
Referenced by MythContextPrivate::InitUPnP(), MediaRenderer::MediaRenderer(), and MediaServer::MediaServer().
| bool UPnp::Initialize | ( | int | nServicePort, | |
| HttpServer * | pHttpServer | |||
| ) |
Definition at line 71 of file upnp.cpp.
Referenced by MythContextPrivate::InitUPnP(), MediaRenderer::MediaRenderer(), and MediaServer::MediaServer().
| bool UPnp::Initialize | ( | QStringList & | sIPAddrList, | |
| int | nServicePort, | |||
| HttpServer * | pHttpServer | |||
| ) |
| void UPnp::Start | ( | void | ) | [virtual] |
Definition at line 143 of file upnp.cpp.
Referenced by MythContextPrivate::InitUPnP(), MediaRenderer::MediaRenderer(), and MediaServer::MediaServer().
| UPnpDevice* UPnp::RootDevice | ( | ) | [inline] |
Definition at line 124 of file upnp.h.
Referenced by MediaRenderer::MediaRenderer(), and MediaServer::MediaServer().
| static void UPnp::PerformSearch | ( | const QString & | sST | ) | [inline, static] |
Definition at line 126 of file upnp.h.
Referenced by BackendSelect::BackendSelect(), MythContextPrivate::DefaultUPnP(), and MythContextPrivate::UPnPautoconf().
| HttpServer* UPnp::GetHttpServer | ( | ) | [inline] |
| static void UPnp::AddListener | ( | QObject * | listener | ) | [inline, static] |
| static void UPnp::RemoveListener | ( | QObject * | listener | ) | [inline, static] |
| SSDPCacheEntries * UPnp::Find | ( | const QString & | sURI | ) | [static] |
| DeviceLocation * UPnp::Find | ( | const QString & | sURI, | |
| const QString & | sUSN | |||
| ) | [static] |
| UPnpDeviceDesc * UPnp::GetDeviceDesc | ( | QString & | sURL, | |
| bool | bInQtThread = TRUE | |||
| ) | [static] |
| QString UPnp::GetResultDesc | ( | UPnPResultCode | eCode | ) | [static] |
| void UPnp::FormatErrorResponse | ( | HTTPRequest * | pRequest, | |
| UPnPResultCode | eCode, | |||
| const QString & | sMsg = "" | |||
| ) | [static] |
Definition at line 281 of file upnp.cpp.
Referenced by MythXML::GetConnectionInfo(), MythXML::GetHosts(), MythXML::GetKeys(), MythXML::GetProgramDetails(), MythXML::GetProgramGuide(), MythXML::GetSetting(), UPnpCDS::HandleBrowse(), UPnpCMGR::HandleGetCurrentConnectionInfo(), UPnpCDS::HandleSearch(), UPnpMSRR::ProcessRequest(), UPnpCMGR::ProcessRequest(), UPnpCDS::ProcessRequest(), MythXML::ProcessRequest(), Eventing::ProcessRequest(), and MythXML::PutSetting().
HttpServer* UPnp::m_pHttpServer [protected] |
Reimplemented in MediaRenderer.
Definition at line 98 of file upnp.h.
Referenced by GetHttpServer(), Initialize(), MediaServer::MediaServer(), and MediaServer::~MediaServer().
int UPnp::m_nServicePort [protected] |
Configuration * UPnp::g_pConfig = NULL [static] |
Definition at line 103 of file upnp.h.
Referenced by CleanUp(), Eventing::Eventing(), UPnpDeviceDesc::GetHostName(), HttpWorkerThread::HttpWorkerThread(), MythContextPrivate::Init(), Initialize(), LookupUDN(), MediaRenderer::MediaRenderer(), MediaServer::MediaServer(), MythXML::MythXML(), UPnpDeviceDesc::OutputDevice(), SetConfiguration(), SSDP::SSDP(), SSDPCacheTask::SSDPCacheTask(), SSDPExtension::SSDPExtension(), ThreadPool::ThreadPool(), UPnpCDS::UPnpCDS(), UPnpCMGR::UPnpCMGR(), UPnpMSRR::UPnpMSRR(), UPnpNotifyTask::UPnpNotifyTask(), and UPnpSearchTask::UPnpSearchTask().
UPnpDeviceDesc UPnp::g_UPnpDeviceDesc [static] |
Definition at line 105 of file upnp.h.
Referenced by UPnpSearchTask::Execute(), UPnpNotifyTask::Execute(), SSDPExtension::GetDeviceDesc(), MythContextPrivate::InitUPnP(), MediaRenderer::MediaRenderer(), MediaServer::MediaServer(), SSDP::ProcessSearchRequest(), and RootDevice().
TaskQueue * UPnp::g_pTaskQueue = NULL [static] |
Definition at line 106 of file upnp.h.
Referenced by CleanUp(), SSDP::EnableNotifications(), Initialize(), Eventing::NotifySubscriber(), and SSDP::ProcessSearchRequest().
SSDP * UPnp::g_pSSDP = NULL [static] |
Definition at line 107 of file upnp.h.
Referenced by CleanUp(), Initialize(), PerformSearch(), and Start().
SSDPCache UPnp::g_SSDPCache [static] |
Definition at line 108 of file upnp.h.
Referenced by AddListener(), BackendSelect::customEvent(), MythContextPrivate::DefaultUPnP(), SSDPCacheTask::Execute(), BackendSelect::FillListBox(), Find(), SSDPExtension::GetDeviceList(), SSDP::ProcessNotify(), SSDP::ProcessSearchResponse(), RemoveListener(), and MythContextPrivate::UPnPautoconf().
QStringList UPnp::g_IPAddrList [static] |
Definition at line 109 of file upnp.h.
Referenced by UPnpSearchTask::Execute(), Initialize(), and UPnpNotifyTask::SendNotifyMsg().
1.5.5