#include <upnpcds.h>
Public Member Functions | |
| UPnpCDS (UPnpDevice *pDevice, const QString &sSharePath) | |
| virtual | ~UPnpCDS () |
| void | RegisterExtension (UPnpCDSExtension *pExtension) |
| void | UnregisterExtension (UPnpCDSExtension *pExtension) |
| virtual QStringList | GetBasePaths () |
| virtual bool | ProcessRequest (HTTPRequest *pRequest) |
Protected Member Functions | |
| virtual QString | GetServiceType () |
| Provices the schema urn. | |
| virtual QString | GetServiceId () |
| Provides the device specific urn. | |
| virtual QString | GetServiceControlURL () |
| Provices the base URL for control commands. | |
| virtual QString | GetServiceDescURL () |
| Provices the URL of the service description XML. | |
Private Member Functions | |
| UPnpCDSMethod | GetMethod (const QString &sURI) |
| UPnpCDSBrowseFlag | GetBrowseFlag (const QString &sFlag) |
| void | HandleBrowse (HTTPRequest *pRequest) |
| void | HandleSearch (HTTPRequest *pRequest) |
| void | HandleGetSearchCapabilities (HTTPRequest *pRequest) |
| void | HandleGetSortCapabilities (HTTPRequest *pRequest) |
| void | HandleGetSystemUpdateID (HTTPRequest *pRequest) |
| void | DetermineClient (HTTPRequest *pRequest, UPnpCDSRequest *pCDSRequest) |
Private Attributes | |
| UPnpCDSExtensionList | m_extensions |
| CDSObject | m_root |
| QString | m_sServiceDescFileName |
| QString | m_sControlUrl |
Definition at line 244 of file upnpcds.h.
| UPnpCDS::UPnpCDS | ( | UPnpDevice * | pDevice, | |
| const QString & | sSharePath | |||
| ) |
Definition at line 54 of file upnpcds.cpp.
| UPnpCDS::~UPnpCDS | ( | ) | [virtual] |
Definition at line 86 of file upnpcds.cpp.
| UPnpCDSMethod UPnpCDS::GetMethod | ( | const QString & | sURI | ) | [private] |
Definition at line 99 of file upnpcds.cpp.
Referenced by ProcessRequest().
| UPnpCDSBrowseFlag UPnpCDS::GetBrowseFlag | ( | const QString & | sFlag | ) | [private] |
Definition at line 115 of file upnpcds.cpp.
Referenced by HandleBrowse().
| void UPnpCDS::HandleBrowse | ( | HTTPRequest * | pRequest | ) | [private] |
Definition at line 293 of file upnpcds.cpp.
Referenced by ProcessRequest().
| void UPnpCDS::HandleSearch | ( | HTTPRequest * | pRequest | ) | [private] |
Definition at line 483 of file upnpcds.cpp.
Referenced by ProcessRequest().
| void UPnpCDS::HandleGetSearchCapabilities | ( | HTTPRequest * | pRequest | ) | [private] |
Definition at line 623 of file upnpcds.cpp.
Referenced by ProcessRequest().
| void UPnpCDS::HandleGetSortCapabilities | ( | HTTPRequest * | pRequest | ) | [private] |
Definition at line 644 of file upnpcds.cpp.
Referenced by ProcessRequest().
| void UPnpCDS::HandleGetSystemUpdateID | ( | HTTPRequest * | pRequest | ) | [private] |
Definition at line 665 of file upnpcds.cpp.
Referenced by ProcessRequest().
| void UPnpCDS::DetermineClient | ( | HTTPRequest * | pRequest, | |
| UPnpCDSRequest * | pCDSRequest | |||
| ) | [private] |
Definition at line 232 of file upnpcds.cpp.
Referenced by HandleBrowse(), and HandleSearch().
| virtual QString UPnpCDS::GetServiceType | ( | ) | [inline, protected, virtual] |
| virtual QString UPnpCDS::GetServiceId | ( | ) | [inline, protected, virtual] |
Provides the device specific urn.
Implements UPnpServiceImpl.
| virtual QString UPnpCDS::GetServiceControlURL | ( | ) | [inline, protected, virtual] |
Provices the base URL for control commands.
Implements UPnpServiceImpl.
| virtual QString UPnpCDS::GetServiceDescURL | ( | ) | [inline, protected, virtual] |
Provices the URL of the service description XML.
Implements UPnpServiceImpl.
| void UPnpCDS::RegisterExtension | ( | UPnpCDSExtension * | pExtension | ) |
Definition at line 127 of file upnpcds.cpp.
Referenced by MediaServer::RegisterExtension().
| void UPnpCDS::UnregisterExtension | ( | UPnpCDSExtension * | pExtension | ) |
Definition at line 137 of file upnpcds.cpp.
Referenced by MediaServer::UnregisterExtension().
| QStringList UPnpCDS::GetBasePaths | ( | ) | [virtual] |
Reimplemented from Eventing.
Definition at line 150 of file upnpcds.cpp.
| bool UPnpCDS::ProcessRequest | ( | HTTPRequest * | pRequest | ) | [virtual] |
Reimplemented from Eventing.
Definition at line 159 of file upnpcds.cpp.
UPnpCDSExtensionList UPnpCDS::m_extensions [private] |
Definition at line 248 of file upnpcds.h.
Referenced by HandleBrowse(), HandleSearch(), RegisterExtension(), UnregisterExtension(), and ~UPnpCDS().
CDSObject UPnpCDS::m_root [private] |
Definition at line 249 of file upnpcds.h.
Referenced by HandleBrowse(), and UPnpCDS().
QString UPnpCDS::m_sServiceDescFileName [private] |
Definition at line 251 of file upnpcds.h.
Referenced by ProcessRequest(), and UPnpCDS().
QString UPnpCDS::m_sControlUrl [private] |
Definition at line 252 of file upnpcds.h.
Referenced by GetBasePaths(), ProcessRequest(), and UPnpCDS().
1.6.3