#include <ssdp.h>
Definition at line 59 of file ssdp.h.
Public Member Functions | |
| SSDP (int nServicePort) | |
| ~SSDP () | |
| virtual void | run () |
| void | RequestTerminate (void) |
| void | EnableNotifications () |
| void | DisableNotifications () |
| void | PerformSearch (const QString &sST) |
Protected Member Functions | |
| bool | ProcessSearchRequest (const QStringMap &sHeaders, QHostAddress peerAddress, Q_UINT16 peerPort) |
| bool | ProcessSearchResponse (const QStringMap &sHeaders) |
| bool | ProcessNotify (const QStringMap &sHeaders) |
| bool | IsTermRequested () |
| QString | GetHeaderValue (const QStringMap &headers, const QString &sKey, const QString &sDefault) |
| void | ProcessData (QSocketDevice *pSocket) |
| SSDPRequestType | ProcessRequestLine (const QString &sLine) |
Private Attributes | |
| QSocketDevice * | m_Sockets [3] |
| int | m_nPort |
| int | m_nSearchPort |
| int | m_nServicePort |
| UPnpNotifyTask * | m_pNotifyTask |
| bool | m_bTermRequested |
| QMutex | m_lock |
| bool SSDP::ProcessSearchRequest | ( | const QStringMap & | sHeaders, | |
| QHostAddress | peerAddress, | |||
| Q_UINT16 | peerPort | |||
| ) | [protected] |
| bool SSDP::ProcessSearchResponse | ( | const QStringMap & | sHeaders | ) | [protected] |
| bool SSDP::ProcessNotify | ( | const QStringMap & | sHeaders | ) | [protected] |
| bool SSDP::IsTermRequested | ( | ) | [protected] |
| QString SSDP::GetHeaderValue | ( | const QStringMap & | headers, | |
| const QString & | sKey, | |||
| const QString & | sDefault | |||
| ) | [protected] |
Definition at line 329 of file ssdp.cpp.
Referenced by ProcessNotify(), ProcessSearchRequest(), and ProcessSearchResponse().
| void SSDP::ProcessData | ( | QSocketDevice * | pSocket | ) | [protected] |
| SSDPRequestType SSDP::ProcessRequestLine | ( | const QString & | sLine | ) | [protected] |
| void SSDP::RequestTerminate | ( | void | ) |
| void SSDP::EnableNotifications | ( | ) |
| void SSDP::PerformSearch | ( | const QString & | sST | ) |
QSocketDevice* SSDP::m_Sockets[3] [private] |
int SSDP::m_nPort [private] |
int SSDP::m_nSearchPort [private] |
int SSDP::m_nServicePort [private] |
Definition at line 67 of file ssdp.h.
Referenced by EnableNotifications(), ProcessSearchRequest(), and SSDP().
UPnpNotifyTask* SSDP::m_pNotifyTask [private] |
Definition at line 69 of file ssdp.h.
Referenced by DisableNotifications(), EnableNotifications(), SSDP(), and ~SSDP().
bool SSDP::m_bTermRequested [private] |
QMutex SSDP::m_lock [private] |
1.5.5