|
MythTV master
|
#include <libmythupnp/upnptasknotify.h>
Public Member Functions | |
| UPnpNotifyTask (int nServicePort) | |
| QString | Name () override |
| void | Execute (TaskQueue *pQueue) override |
| QString | GetNTSString () |
| UPnpNotifyNTS | GetNTS () |
| void | SetNTS (UPnpNotifyNTS nts) |
Public Member Functions inherited from Task | |
| Task (const QString &debugName) | |
| long | Id () const |
| virtual void | Execute (TaskQueue *pQueue)=0 |
| virtual QString | Name ()=0 |
Public Member Functions inherited from ReferenceCounter | |
| ReferenceCounter (const QString &debugName, bool logDebug=true) | |
| Creates reference counter with an initial value of 1. More... | |
| virtual int | IncrRef (void) |
| Increments reference count. More... | |
| virtual int | DecrRef (void) |
| Decrements reference count and deletes on 0. More... | |
Protected Member Functions | |
| ~UPnpNotifyTask () override=default | |
| void | ProcessDevice (QUdpSocket &socket, const UPnpDevice &device) |
| void | SendNotifyMsg (QUdpSocket &socket, const QString &sNT, const QString &sUDN) |
Protected Member Functions inherited from Task | |
| ~Task () override=default | |
Protected Member Functions inherited from ReferenceCounter | |
| virtual | ~ReferenceCounter (void) |
| Called on destruction, will warn if object deleted with references in place. More... | |
Protected Attributes | |
| QMutex | m_mutex |
| QString | m_sMasterIP |
| int | m_nServicePort |
| std::chrono::seconds | m_nMaxAge {1h} |
| UPnpNotifyNTS | m_eNTS {NTS_alive} |
Protected Attributes inherited from Task | |
| long | m_nTaskId |
Protected Attributes inherited from ReferenceCounter | |
| bool | m_logDebug |
| This is used to suppress creating LoggingItem classes for LoggingItem reference count changes. More... | |
| QAtomicInt | m_referenceCount {1} |
Additional Inherited Members | |
Static Public Member Functions inherited from ReferenceCounter | |
| static void | PrintDebug (void) |
| Print out any leaks if that level of debugging is enabled. More... | |
Static Protected Attributes inherited from Task | |
| static long | m_nTaskCount = 0 |
Definition at line 32 of file upnptasknotify.h.
|
overrideprotecteddefault |
|
explicit |
Definition at line 32 of file upnptasknotify.cpp.
|
overridevirtual |
Implements Task.
Definition at line 107 of file upnptasknotify.cpp.
Referenced by SSDP::DisableNotifications(), and SSDP::EnableNotifications().
|
inline |
Definition at line 69 of file upnptasknotify.h.
|
inline |
Definition at line 55 of file upnptasknotify.h.
Referenced by SendNotifyMsg().
|
inlineoverridevirtual |
Implements Task.
Definition at line 52 of file upnptasknotify.h.
|
protected |
Definition at line 126 of file upnptasknotify.cpp.
Referenced by Execute(), and ProcessDevice().
|
protected |
Definition at line 39 of file upnptasknotify.cpp.
Referenced by Execute(), and ProcessDevice().
|
inline |
Definition at line 78 of file upnptasknotify.h.
Referenced by SSDP::DisableNotifications(), and SSDP::EnableNotifications().
|
protected |
Definition at line 41 of file upnptasknotify.h.
Referenced by Execute(), GetNTS(), GetNTSString(), SendNotifyMsg(), and SetNTS().
|
protected |
Definition at line 35 of file upnptasknotify.h.
Referenced by Execute(), GetNTS(), GetNTSString(), and SetNTS().
|
protected |
Definition at line 39 of file upnptasknotify.h.
Referenced by Execute(), and SendNotifyMsg().
|
protected |
Definition at line 38 of file upnptasknotify.h.
Referenced by SSDP::getNotificationPort(), and SendNotifyMsg().
|
protected |
Definition at line 37 of file upnptasknotify.h.