#include <ssdpcache.h>

Definition at line 75 of file ssdpcache.h.
Public Member Functions | |
| SSDPCache () | |
| virtual | ~SSDPCache () |
| void | Lock () |
| void | Unlock () |
| SSDPCacheEntriesMap::Iterator | Begin () |
| SSDPCacheEntriesMap::Iterator | End () |
| int | Count () |
| void | Clear () |
| void | Add (const QString &sURI, const QString &sUSN, const QString &sLocation, long sExpiresInSecs) |
| void | Remove (const QString &sURI, const QString &sUSN) |
| int | RemoveStale () |
| void | Dump () |
| SSDPCacheEntries * | Find (const QString &sURI) |
| DeviceLocation * | Find (const QString &sURI, const QString &sUSN) |
Protected Member Functions | |
| void | NotifyAdd (const QString &sURI, const QString &sUSN, const QString &sLocation) |
| void | NotifyRemove (const QString &sURI, const QString &sUSN) |
Protected Attributes | |
| QMutex | m_mutex |
| SSDPCacheEntriesMap | m_cache |
| SSDPCache::SSDPCache | ( | ) |
Definition at line 190 of file ssdpcache.cpp.
| SSDPCache::~SSDPCache | ( | ) | [virtual] |
Definition at line 199 of file ssdpcache.cpp.
| void SSDPCache::NotifyAdd | ( | const QString & | sURI, | |
| const QString & | sUSN, | |||
| const QString & | sLocation | |||
| ) | [protected] |
| void SSDPCache::NotifyRemove | ( | const QString & | sURI, | |
| const QString & | sUSN | |||
| ) | [protected] |
| void SSDPCache::Lock | ( | void | ) | [inline] |
Definition at line 95 of file ssdpcache.h.
Referenced by Add(), Clear(), Dump(), Find(), SSDPExtension::GetDeviceList(), Remove(), and RemoveStale().
| void SSDPCache::Unlock | ( | void | ) | [inline] |
Definition at line 96 of file ssdpcache.h.
Referenced by Add(), Clear(), Dump(), Find(), SSDPExtension::GetDeviceList(), Remove(), and RemoveStale().
| SSDPCacheEntriesMap::Iterator SSDPCache::Begin | ( | void | ) | [inline] |
| SSDPCacheEntriesMap::Iterator SSDPCache::End | ( | void | ) | [inline] |
| int SSDPCache::Count | ( | void | ) | [inline] |
| void SSDPCache::Clear | ( | void | ) |
| void SSDPCache::Add | ( | const QString & | sURI, | |
| const QString & | sUSN, | |||
| const QString & | sLocation, | |||
| long | sExpiresInSecs | |||
| ) |
Definition at line 272 of file ssdpcache.cpp.
Referenced by SSDP::ProcessNotify(), and SSDP::ProcessSearchResponse().
| void SSDPCache::Remove | ( | const QString & | sURI, | |
| const QString & | sUSN | |||
| ) |
| int SSDPCache::RemoveStale | ( | ) |
| void SSDPCache::Dump | ( | ) |
| SSDPCacheEntries * SSDPCache::Find | ( | const QString & | sURI | ) |
Definition at line 234 of file ssdpcache.cpp.
Referenced by Add(), BackendSelect::customEvent(), MythContextPrivate::DefaultUPnP(), BackendSelect::FillListBox(), UPnp::Find(), Find(), and MythContextPrivate::UPnPautoconf().
| DeviceLocation * SSDPCache::Find | ( | const QString & | sURI, | |
| const QString & | sUSN | |||
| ) |
Definition at line 253 of file ssdpcache.cpp.
QMutex SSDPCache::m_mutex [protected] |
SSDPCacheEntriesMap SSDPCache::m_cache [protected] |
1.5.5