Eventing Class Reference

#include <eventing.h>

Inheritance diagram for Eventing:
HttpServerExtension StateVariables IPostProcess UPnpServiceImpl MythFEXML UPnpCDS UPnpCMGR UPnpMSRR

List of all members.

Public Member Functions

 Eventing (const QString &sExtensionName, const QString &sEventMethodName, const QString sSharePath)
virtual ~Eventing ()
virtual QStringList GetBasePaths ()
virtual bool ProcessRequest (HTTPRequest *pRequest)
short HoldEvents ()
short ReleaseEvents ()
void ExecutePostProcess ()

Protected Member Functions

virtual void Notify ()
void NotifySubscriber (SubscriberInfo *pInfo)
void HandleSubscribe (HTTPRequest *pRequest)
void HandleUnsubscribe (HTTPRequest *pRequest)
virtual QString GetServiceEventURL ()
 Provides the URL of the event portion of the service.

Protected Attributes

QMutex m_mutex
QString m_sEventMethodName
Subscribers m_Subscribers
int m_nSubscriptionDuration
short m_nHoldCount
SubscriberInfom_pInitializeSubscriber

Detailed Description

Definition at line 253 of file eventing.h.


Constructor & Destructor Documentation

Eventing::Eventing ( const QString &  sExtensionName,
const QString &  sEventMethodName,
const QString  sSharePath 
)

Definition at line 61 of file eventing.cpp.

Eventing::~Eventing (  )  [virtual]

Definition at line 78 of file eventing.cpp.


Member Function Documentation

void Eventing::Notify (  )  [protected, virtual]

Implements StateVariables.

Definition at line 318 of file eventing.cpp.

Referenced by ReleaseEvents().

void Eventing::NotifySubscriber ( SubscriberInfo pInfo  )  [protected]

Definition at line 355 of file eventing.cpp.

Referenced by ExecutePostProcess(), and Notify().

void Eventing::HandleSubscribe ( HTTPRequest pRequest  )  [protected]

Definition at line 197 of file eventing.cpp.

Referenced by ProcessRequest().

void Eventing::HandleUnsubscribe ( HTTPRequest pRequest  )  [protected]

Definition at line 288 of file eventing.cpp.

Referenced by ProcessRequest().

virtual QString Eventing::GetServiceEventURL ( void   )  [inline, protected, virtual]

Provides the URL of the event portion of the service.

Reimplemented from UPnpServiceImpl.

Definition at line 281 of file eventing.h.

QStringList Eventing::GetBasePaths (  )  [virtual]

Implements HttpServerExtension.

Reimplemented in UPnpCDS, UPnpCMGR, UPnpMSRR, and MythFEXML.

Definition at line 137 of file eventing.cpp.

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

Implements HttpServerExtension.

Reimplemented in UPnpCDS, UPnpCMGR, UPnpMSRR, and MythFEXML.

Definition at line 149 of file eventing.cpp.

Referenced by UPnpMSRR::ProcessRequest(), UPnpCMGR::ProcessRequest(), and UPnpCDS::ProcessRequest().

short Eventing::HoldEvents (  )  [inline]

Definition at line 90 of file eventing.cpp.

short Eventing::ReleaseEvents (  )  [inline]

Definition at line 117 of file eventing.cpp.

void Eventing::ExecutePostProcess (  )  [virtual]

Implements IPostProcess.

Definition at line 180 of file eventing.cpp.


Member Data Documentation

QMutex Eventing::m_mutex [protected]

Definition at line 261 of file eventing.h.

Referenced by HoldEvents(), Notify(), and ReleaseEvents().

QString Eventing::m_sEventMethodName [protected]

Definition at line 263 of file eventing.h.

Referenced by Eventing(), and ProcessRequest().

Definition at line 264 of file eventing.h.

Referenced by HandleSubscribe(), HandleUnsubscribe(), Notify(), and ~Eventing().

Definition at line 266 of file eventing.h.

Referenced by HandleSubscribe().

short Eventing::m_nHoldCount [protected]

Definition at line 268 of file eventing.h.

Referenced by HoldEvents(), and ReleaseEvents().

Definition at line 270 of file eventing.h.

Referenced by ExecutePostProcess(), and HandleSubscribe().


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