#include <eventing.h>
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 |
| SubscriberInfo * | m_pInitializeSubscriber |
Definition at line 253 of file eventing.h.
| 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.
| 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.
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().
Subscribers Eventing::m_Subscribers [protected] |
Definition at line 264 of file eventing.h.
Referenced by HandleSubscribe(), HandleUnsubscribe(), Notify(), and ~Eventing().
int Eventing::m_nSubscriptionDuration [protected] |
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().
SubscriberInfo* Eventing::m_pInitializeSubscriber [protected] |
Definition at line 270 of file eventing.h.
Referenced by ExecutePostProcess(), and HandleSubscribe().
1.6.3