|
MythTV master
|
#include <libmythupnp/upnpmsrr.h>
Public Member Functions | |
| UPnpMSRR (UPnpDevice *pDevice, const QString &sSharePath) | |
| ~UPnpMSRR () override=default | |
| QStringList | GetBasePaths () override |
| bool | ProcessRequest (HTTPRequest *pRequest) override |
Public Member Functions inherited from Eventing | |
| Eventing (const QString &sExtensionName, QString sEventMethodName, const QString &sSharePath) | |
| ~Eventing () override | |
| QStringList | GetBasePaths () override |
| bool | ProcessRequest (HTTPRequest *pRequest) override |
| short | HoldEvents () |
| short | ReleaseEvents () |
| void | ExecutePostProcess () override |
Public Member Functions inherited from HttpServerExtension | |
| HttpServerExtension (QString sName, QString sSharePath) | |
| ~HttpServerExtension () override=default | |
| virtual bool | ProcessRequest (HTTPRequest *pRequest)=0 |
| virtual bool | ProcessOptions (HTTPRequest *pRequest) |
| Handle an OPTIONS request. More... | |
| virtual QStringList | GetBasePaths ()=0 |
| virtual int | GetSocketTimeout () const |
Public Member Functions inherited from StateVariables | |
| StateVariables ()=default | |
| virtual | ~StateVariables () |
| void | AddVariable (StateVariableBase *pBase) |
| template<class T > | |
| bool | SetValue (const QString &sName, const T &value) |
| template<class T > | |
| T | GetValue (const QString &sName) |
| uint | BuildNotifyBody (QTextStream &ts, std::chrono::microseconds ttLastNotified) const |
Public Member Functions inherited from IPostProcess | |
| virtual void | ExecutePostProcess ()=0 |
| virtual | ~IPostProcess ()=default |
Public Member Functions inherited from UPnpServiceImpl | |
| UPnpServiceImpl ()=default | |
| virtual | ~UPnpServiceImpl ()=default |
| void | RegisterService (UPnpDevice *device) |
| Creates a UPnpService and adds it to the UPnpDevice's list of services. More... | |
Protected Member Functions | |
| QString | GetServiceType () override |
| Provices the schema urn. More... | |
| QString | GetServiceId () override |
| Provides the device specific urn. More... | |
| QString | GetServiceControlURL () override |
| Provices the base URL for control commands. More... | |
| QString | GetServiceDescURL () override |
| Provices the URL of the service description XML. More... | |
Protected Member Functions inherited from Eventing | |
| void | Notify () override |
| void | NotifySubscriber (SubscriberInfo *pInfo) |
| void | HandleSubscribe (HTTPRequest *pRequest) |
| void | HandleUnsubscribe (HTTPRequest *pRequest) |
| QString | GetServiceEventURL () override |
| Provides the URL of the event portion of the service. More... | |
| virtual void | Notify ()=0 |
| virtual QString | GetServiceType (void)=0 |
| Provices the schema urn. More... | |
| virtual QString | GetServiceId (void)=0 |
| Provides the device specific urn. More... | |
| virtual QString | GetServiceControlURL (void)=0 |
| Provices the base URL for control commands. More... | |
| virtual QString | GetServiceDescURL (void)=0 |
| Provices the URL of the service description XML. More... | |
| virtual QString | GetServiceEventURL (void) |
| Provides the URL of the event portion of the service. More... | |
Static Private Member Functions | |
| static UPnpMSRRMethod | GetMethod (const QString &sURI) |
| static void | HandleIsAuthorized (HTTPRequest *pRequest) |
| static void | HandleRegisterDevice (HTTPRequest *pRequest) |
| static void | HandleIsValidated (HTTPRequest *pRequest) |
Private Attributes | |
| QString | m_sServiceDescFileName |
| QString | m_sControlUrl |
Additional Inherited Members | |
Public Attributes inherited from HttpServerExtension | |
| QString | m_sName |
| QString | m_sSharePath |
| int | m_nSocketTimeout { -1 } |
| uint | m_nSupportedMethods |
Protected Types inherited from StateVariables | |
| using | SVMap = QMap< QString, StateVariableBase * > |
Protected Attributes inherited from Eventing | |
| QMutex | m_mutex |
| QString | m_sEventMethodName |
| Subscribers | m_subscribers |
| std::chrono::seconds | m_nSubscriptionDuration {30min} |
| short | m_nHoldCount {0} |
| SubscriberInfo * | m_pInitializeSubscriber {nullptr} |
Protected Attributes inherited from StateVariables | |
| SVMap | m_map |
Definition at line 27 of file upnpmsrr.h.
| UPnpMSRR::UPnpMSRR | ( | UPnpDevice * | pDevice, |
| const QString & | sSharePath | ||
| ) |
Definition at line 19 of file upnpmsrr.cpp.
|
overridedefault |
|
overridevirtual |
Reimplemented from Eventing.
Definition at line 68 of file upnpmsrr.cpp.
|
staticprivate |
Definition at line 50 of file upnpmsrr.cpp.
Referenced by ProcessRequest().
|
inlineoverrideprotectedvirtual |
Provices the base URL for control commands.
Implements UPnpServiceImpl.
Definition at line 48 of file upnpmsrr.h.
|
inlineoverrideprotectedvirtual |
Provices the URL of the service description XML.
Implements UPnpServiceImpl.
Definition at line 50 of file upnpmsrr.h.
|
inlineoverrideprotectedvirtual |
Provides the device specific urn.
Implements UPnpServiceImpl.
Definition at line 46 of file upnpmsrr.h.
|
inlineoverrideprotectedvirtual |
|
staticprivate |
Definition at line 118 of file upnpmsrr.cpp.
Referenced by ProcessRequest().
|
staticprivate |
Definition at line 147 of file upnpmsrr.cpp.
Referenced by ProcessRequest().
|
staticprivate |
Definition at line 136 of file upnpmsrr.cpp.
Referenced by ProcessRequest().
|
overridevirtual |
Reimplemented from Eventing.
Definition at line 77 of file upnpmsrr.cpp.
|
private |
Definition at line 32 of file upnpmsrr.h.
Referenced by GetBasePaths(), and ProcessRequest().
|
private |
Definition at line 31 of file upnpmsrr.h.
Referenced by ProcessRequest(), and UPnpMSRR().