MythTV  master
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
SSDPExtension Class Reference

#include <ssdp.h>

Inheritance diagram for SSDPExtension:
Inheritance graph
[legend]
Collaboration diagram for SSDPExtension:
Collaboration graph
[legend]

Public Member Functions

 SSDPExtension (int nServicePort, const QString &sSharePath)
 
virtual ~SSDPExtension ()=default
 
QStringList GetBasePaths () override
 
bool ProcessRequest (HTTPRequest *pRequest) override
 
- Public Member Functions inherited from HttpServerExtension
 HttpServerExtension (const QString &sName, const QString &sSharePath)
 
virtual ~HttpServerExtension ()=default
 
virtual bool ProcessOptions (HTTPRequest *pRequest)
 Handle an OPTIONS request. More...
 
virtual int GetSocketTimeout () const
 

Private Member Functions

void GetDeviceDesc (HTTPRequest *pRequest)
 
void GetFile (HTTPRequest *pRequest, const QString &sFileName)
 

Static Private Member Functions

static SSDPMethod GetMethod (const QString &sURI)
 
static void GetDeviceList (HTTPRequest *pRequest)
 

Private Attributes

QString m_sUPnpDescPath
 
int m_nServicePort
 

Additional Inherited Members

- Public Attributes inherited from HttpServerExtension
QString m_sName
 
QString m_sSharePath
 
int m_nSocketTimeout
 
uint m_nSupportedMethods
 

Detailed Description

Definition at line 141 of file ssdp.h.

Constructor & Destructor Documentation

◆ SSDPExtension()

SSDPExtension::SSDPExtension ( int  nServicePort,
const QString &  sSharePath 
)

Definition at line 687 of file ssdp.cpp.

◆ ~SSDPExtension()

virtual SSDPExtension::~SSDPExtension ( )
virtualdefault

Member Function Documentation

◆ GetMethod()

SSDPMethod SSDPExtension::GetMethod ( const QString &  sURI)
staticprivate

Definition at line 700 of file ssdp.cpp.

Referenced by ProcessRequest().

◆ GetDeviceDesc()

void SSDPExtension::GetDeviceDesc ( HTTPRequest pRequest)
private

Definition at line 747 of file ssdp.cpp.

Referenced by ProcessRequest().

◆ GetFile()

void SSDPExtension::GetFile ( HTTPRequest pRequest,
const QString &  sFileName 
)
private

Definition at line 770 of file ssdp.cpp.

◆ GetDeviceList()

void SSDPExtension::GetDeviceList ( HTTPRequest pRequest)
staticprivate

Definition at line 802 of file ssdp.cpp.

Referenced by ProcessRequest().

◆ GetBasePaths()

QStringList SSDPExtension::GetBasePaths ( )
overridevirtual

Implements HttpServerExtension.

Definition at line 712 of file ssdp.cpp.

◆ ProcessRequest()

bool SSDPExtension::ProcessRequest ( HTTPRequest pRequest)
overridevirtual

Implements HttpServerExtension.

Definition at line 724 of file ssdp.cpp.

Member Data Documentation

◆ m_sUPnpDescPath

QString SSDPExtension::m_sUPnpDescPath
private

Definition at line 145 of file ssdp.h.

Referenced by GetFile(), and SSDPExtension().

◆ m_nServicePort

int SSDPExtension::m_nServicePort
private

Definition at line 146 of file ssdp.h.

Referenced by GetDeviceDesc().


The documentation for this class was generated from the following files: