#include <eventing.h>

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 |
| SubscriberInfo * | m_pInitializeSubscriber |
| 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.
| void Eventing::Notify | ( | ) | [protected, virtual] |
Implements StateVariables.
Definition at line 241 of file eventing.cpp.
Referenced by ReleaseEvents().
| void Eventing::NotifySubscriber | ( | SubscriberInfo * | pInfo | ) | [protected] |
| int Eventing::BuildNotifyBody | ( | QTextStream & | ts, | |
| TaskTime | ttLastNotified | |||
| ) | [protected] |
| void Eventing::HandleSubscribe | ( | HTTPRequest * | pRequest | ) | [protected] |
| void Eventing::HandleUnsubscribe | ( | HTTPRequest * | pRequest | ) | [protected] |
| virtual QString Eventing::GetServiceEventURL | ( | ) | [inline, protected, virtual] |
| 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] |
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().
Subscribers Eventing::m_Subscribers [protected] |
Definition at line 269 of file eventing.h.
Referenced by HandleSubscribe(), HandleUnsubscribe(), and Notify().
int Eventing::m_nSubscriptionDuration [protected] |
short Eventing::m_nHoldCount [protected] |
SubscriberInfo* Eventing::m_pInitializeSubscriber [protected] |
Definition at line 275 of file eventing.h.
Referenced by ExecutePostProcess(), and HandleSubscribe().
1.5.5