ServiceHost Class Reference

#include <servicehost.h>

Inheritance diagram for ServiceHost:
HttpServerExtension CaptureServiceHost ChannelServiceHost ContentServiceHost DvrServiceHost FrontendServiceHost GuideServiceHost MythServiceHost VideoServiceHost

List of all members.

Public Member Functions

 ServiceHost (const QMetaObject &metaObject, const QString &sExtensionName, const QString &sBaseUrl, const QString &sSharePath)
virtual ~ServiceHost ()
virtual QStringList GetBasePaths ()
virtual bool ProcessRequest (HTTPRequest *pRequest)
virtual QString GetServiceControlURL ()
const QMetaObject & GetServiceMetaObject ()
const MetaInfoMapGetMethods ()

Protected Member Functions

virtual bool FormatResponse (HTTPRequest *pRequest, QObject *pResults)
virtual bool FormatResponse (HTTPRequest *pRequest, QFileInfo oInfo)
virtual bool FormatResponse (HTTPRequest *pRequest, QVariant vValue)

Protected Attributes

QString m_sBaseUrl
QMetaObject m_oMetaObject
MetaInfoMap m_Methods

Detailed Description

Definition at line 60 of file servicehost.h.


Constructor & Destructor Documentation

ServiceHost::ServiceHost ( const QMetaObject &  metaObject,
const QString &  sExtensionName,
const QString &  sBaseUrl,
const QString &  sSharePath 
)

Definition at line 184 of file servicehost.cpp.

ServiceHost::~ServiceHost (  )  [virtual]

Definition at line 250 of file servicehost.cpp.


Member Function Documentation

bool ServiceHost::FormatResponse ( HTTPRequest pRequest,
QObject *  pResults 
) [protected, virtual]

Definition at line 430 of file servicehost.cpp.

Referenced by FormatResponse(), and ProcessRequest().

bool ServiceHost::FormatResponse ( HTTPRequest pRequest,
QFileInfo  oInfo 
) [protected, virtual]

Definition at line 454 of file servicehost.cpp.

bool ServiceHost::FormatResponse ( HTTPRequest pRequest,
QVariant  vValue 
) [protected, virtual]

Definition at line 479 of file servicehost.cpp.

QStringList ServiceHost::GetBasePaths (  )  [virtual]

Implements HttpServerExtension.

Definition at line 258 of file servicehost.cpp.

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

Implements HttpServerExtension.

Definition at line 267 of file servicehost.cpp.

virtual QString ServiceHost::GetServiceControlURL (  )  [inline, virtual]

Definition at line 87 of file servicehost.h.

Referenced by Wsdl::GetWSDL().

const QMetaObject& ServiceHost::GetServiceMetaObject (  )  [inline]

Definition at line 89 of file servicehost.h.

Referenced by Wsdl::GetWSDL().

const MetaInfoMap& ServiceHost::GetMethods (  )  [inline]

Definition at line 90 of file servicehost.h.

Referenced by Wsdl::GetWSDL().


Member Data Documentation

QString ServiceHost::m_sBaseUrl [protected]

Definition at line 64 of file servicehost.h.

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

QMetaObject ServiceHost::m_oMetaObject [protected]

Definition at line 66 of file servicehost.h.

Referenced by ProcessRequest(), and ServiceHost().

Definition at line 67 of file servicehost.h.

Referenced by ProcessRequest(), and ServiceHost().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon May 28 06:42:26 2012 for MythTV by  doxygen 1.6.3