Eventing Class Reference

#include <eventing.h>

Inheritance diagram for Eventing:

HttpServerExtension StateVariables IPostProcess UPnpServiceImpl MythXML UPnpCDS UPnpCMGR UPnpMSRR

List of all members.


Detailed Description

Definition at line 258 of file eventing.h.


Public Member Functions

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

Protected Member Functions

virtual void Notify ()
void NotifySubscriber (SubscriberInfo *pInfo)
int BuildNotifyBody (QTextStream &ts, TaskTime ttLastNotified)
void HandleSubscribe (HTTPRequest *pRequest)
void HandleUnsubscribe (HTTPRequest *pRequest)
virtual QString GetServiceEventURL ()

Protected Attributes

QMutex m_mutex
QString m_sEventMethodName
Subscribers m_Subscribers
int m_nSubscriptionDuration
short m_nHoldCount
SubscriberInfom_pInitializeSubscriber

Constructor & Destructor Documentation

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

Definition at line 25 of file eventing.cpp.

Eventing::~Eventing (  )  [virtual]

Definition at line 35 of file eventing.cpp.


Member Function Documentation

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

Implements StateVariables.

Definition at line 241 of file eventing.cpp.

Referenced by ReleaseEvents().

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

Definition at line 288 of file eventing.cpp.

Referenced by ExecutePostProcess(), and Notify().

int Eventing::BuildNotifyBody ( QTextStream &  ts,
TaskTime  ttLastNotified 
) [protected]

Definition at line 357 of file eventing.cpp.

Referenced by NotifySubscriber().

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

Definition at line 129 of file eventing.cpp.

Referenced by ProcessRequest().

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

Definition at line 214 of file eventing.cpp.

Referenced by ProcessRequest().

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

Reimplemented from UPnpServiceImpl.

Definition at line 288 of file eventing.h.

bool Eventing::ProcessRequest ( HttpWorkerThread pThread,
HTTPRequest pRequest 
) [virtual]

Implements HttpServerExtension.

Reimplemented in UPnpCDS, UPnpCMGR, UPnpMSRR, and MythXML.

Definition at line 82 of file eventing.cpp.

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

short Eventing::HoldEvents (  )  [inline]

Definition at line 43 of file eventing.cpp.

short Eventing::ReleaseEvents (  )  [inline]

Definition at line 61 of file eventing.cpp.

void Eventing::ExecutePostProcess (  )  [virtual]

Implements IPostProcess.

Definition at line 112 of file eventing.cpp.


Member Data Documentation

QMutex Eventing::m_mutex [protected]

Definition at line 266 of file eventing.h.

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

QString Eventing::m_sEventMethodName [protected]

Definition at line 268 of file eventing.h.

Referenced by Eventing(), GetServiceEventURL(), and ProcessRequest().

Definition at line 269 of file eventing.h.

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

Definition at line 271 of file eventing.h.

Referenced by Eventing(), and HandleSubscribe().

short Eventing::m_nHoldCount [protected]

Definition at line 273 of file eventing.h.

Referenced by HoldEvents(), and ReleaseEvents().

Definition at line 275 of file eventing.h.

Referenced by ExecutePostProcess(), and HandleSubscribe().


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

Generated on Sat Dec 18 05:16:03 2010 for MythTV by  doxygen 1.5.5