Go to the documentation of this file.
13 #ifndef UPNPTASKSEARCH_H
14 #define UPNPTASKSEARCH_H
17 #include <sys/types.h>
19 #include <netinet/in.h>
20 #include <arpa/inet.h>
25 #include <QHostAddress>
30 #include "libmythupnp/msocketdevice.h"
62 void SendMsg ( MSocketDevice *pSocket,
64 const QString& sUDN );
69 const QHostAddress& peerAddress,
74 QString
Name()
override {
return(
"Search" ); }
80 #endif // UPNPTASKSEARCH_H
void SendMsg(MSocketDevice *pSocket, const QString &sST, const QString &sUDN)
QHostAddress m_peerAddress
void Execute(TaskQueue *pQueue) override
UPnpSearchTask(int nServicePort, const QHostAddress &peerAddress, int nPeerPort, QString sST, QString sUDN)
std::chrono::seconds m_nMaxAge
void ProcessDevice(MSocketDevice *pSocket, UPnpDevice *pDevice)
QList< QHostAddress > m_addressList
~UPnpSearchTask() override=default