MythTV  0.26-pre
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
UPnpCMGR Class Reference

#include <upnpcmgr.h>

Inheritance diagram for UPnpCMGR:
Eventing HttpServerExtension StateVariables IPostProcess UPnpServiceImpl

List of all members.

Public Member Functions

 UPnpCMGR (UPnpDevice *pDevice, const QString &sSharePath, const QString &sSourceProtocols="", const QString &sSinkProtocols="")
virtual ~UPnpCMGR ()
void AddSourceProtocol (const QString &sProtocol)
void AddSinkProtocol (const QString &sProtocol)
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

UPnpCMGRMethod GetMethod (const QString &sURI)
void HandleGetProtocolInfo (HTTPRequest *pRequest)
void HandleGetCurrentConnectionInfo (HTTPRequest *pRequest)
void HandleGetCurrentConnectionIDs (HTTPRequest *pRequest)

Private Attributes

QString m_sServiceDescFileName
QString m_sControlUrl

Detailed Description

Definition at line 49 of file upnpcmgr.h.


Constructor & Destructor Documentation

UPnpCMGR::UPnpCMGR ( UPnpDevice pDevice,
const QString &  sSharePath,
const QString &  sSourceProtocols = "",
const QString &  sSinkProtocols = "" 
)

Definition at line 21 of file upnpcmgr.cpp.

UPnpCMGR::~UPnpCMGR ( ) [virtual]

Definition at line 49 of file upnpcmgr.cpp.


Member Function Documentation

UPnpCMGRMethod UPnpCMGR::GetMethod ( const QString &  sURI) [private]

Definition at line 90 of file upnpcmgr.cpp.

Referenced by ProcessRequest().

Definition at line 162 of file upnpcmgr.cpp.

Referenced by ProcessRequest().

Definition at line 178 of file upnpcmgr.cpp.

Referenced by ProcessRequest().

Definition at line 206 of file upnpcmgr.cpp.

Referenced by ProcessRequest().

virtual QString UPnpCMGR::GetServiceType ( ) [inline, protected, virtual]

Provices the schema urn.

Implements UPnpServiceImpl.

Definition at line 66 of file upnpcmgr.h.

virtual QString UPnpCMGR::GetServiceId ( ) [inline, protected, virtual]

Provides the device specific urn.

Implements UPnpServiceImpl.

Definition at line 67 of file upnpcmgr.h.

virtual QString UPnpCMGR::GetServiceControlURL ( ) [inline, protected, virtual]

Provices the base URL for control commands.

Implements UPnpServiceImpl.

Definition at line 68 of file upnpcmgr.h.

virtual QString UPnpCMGR::GetServiceDescURL ( ) [inline, protected, virtual]

Provices the URL of the service description XML.

Implements UPnpServiceImpl.

Definition at line 69 of file upnpcmgr.h.

void UPnpCMGR::AddSourceProtocol ( const QString &  sProtocol)

Definition at line 57 of file upnpcmgr.cpp.

void UPnpCMGR::AddSinkProtocol ( const QString &  sProtocol)

Definition at line 73 of file upnpcmgr.cpp.

QStringList UPnpCMGR::GetBasePaths ( ) [virtual]

Reimplemented from Eventing.

Definition at line 104 of file upnpcmgr.cpp.

bool UPnpCMGR::ProcessRequest ( HTTPRequest pRequest) [virtual]

Reimplemented from Eventing.

Definition at line 113 of file upnpcmgr.cpp.


Member Data Documentation

Definition at line 53 of file upnpcmgr.h.

Referenced by ProcessRequest(), and UPnpCMGR().

QString UPnpCMGR::m_sControlUrl [private]

Definition at line 54 of file upnpcmgr.h.

Referenced by GetBasePaths(), ProcessRequest(), and UPnpCMGR().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends