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
Collaboration diagram for SSDPExtension:
Collaboration graph

Public Member Functions

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

Private Member Functions

void GetDeviceDesc (HTTPRequest *pRequest) const
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 { -1 }
uint m_nSupportedMethods

Detailed Description

Definition at line 147 of file ssdp.h.

Constructor & Destructor Documentation

◆ SSDPExtension()

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

Definition at line 694 of file ssdp.cpp.

◆ ~SSDPExtension()

SSDPExtension::~SSDPExtension ( )

Member Function Documentation

◆ GetMethod()

SSDPMethod SSDPExtension::GetMethod ( const QString &  sURI)

Definition at line 706 of file ssdp.cpp.

Referenced by ProcessRequest().

◆ GetDeviceDesc()

void SSDPExtension::GetDeviceDesc ( HTTPRequest pRequest) const

Definition at line 753 of file ssdp.cpp.

Referenced by ProcessRequest().

◆ GetFile()

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

Definition at line 776 of file ssdp.cpp.

◆ GetDeviceList()

void SSDPExtension::GetDeviceList ( HTTPRequest pRequest)

Definition at line 808 of file ssdp.cpp.

Referenced by ProcessRequest().

◆ GetBasePaths()

QStringList SSDPExtension::GetBasePaths ( )

Implements HttpServerExtension.

Definition at line 718 of file ssdp.cpp.

◆ ProcessRequest()

bool SSDPExtension::ProcessRequest ( HTTPRequest pRequest)

Implements HttpServerExtension.

Definition at line 730 of file ssdp.cpp.

Member Data Documentation

◆ m_sUPnpDescPath

QString SSDPExtension::m_sUPnpDescPath

Definition at line 151 of file ssdp.h.

Referenced by GetFile(), and SSDPExtension().

◆ m_nServicePort

int SSDPExtension::m_nServicePort

Definition at line 152 of file ssdp.h.

Referenced by GetDeviceDesc().

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