SSDP MSearch implementation for UPnP control points. More...
#include <BrisaUpnp/BrisaMSearchClientCP>
Public Slots | |
| void | discover () |
Signals | |
| void | msearchResponseReceived (const QString &usn, const QString &location, const QString &st, const QString &ext, const QString &server, const QString &cacheControl) |
Public Member Functions | |
| BrisaMSearchClientCP (QObject *parent=0, const QString &type=DEFAULT_SEARCH_TYPE, int mx=5) | |
| virtual | ~BrisaMSearchClientCP () |
| void | doubleDiscover () |
| bool | isRunning () const |
| void | start (int interval=DEFAULT_SEARCH_TIME) |
| void | stop () |
SSDP MSearch implementation for UPnP control points.
Create a new BrisaMSearchClientCP with the desired service type and mx values, and call start() to begin sending discovery messages to possible devices in the multicast group. When a device responds to a msearch request, msearchResponseReceived() signal is emmited.
Definition at line 50 of file brisamsearchclientcp.h.
| BrisaMSearchClientCP::BrisaMSearchClientCP | ( | QObject * | parent = 0, |
|
| const QString & | type = DEFAULT_SEARCH_TYPE, |
|||
| int | mx = 5 | |||
| ) |
Definition at line 49 of file brisamsearchclientcp.cpp.
| BrisaMSearchClientCP::~BrisaMSearchClientCP | ( | ) | [virtual] |
Definition at line 61 of file brisamsearchclientcp.cpp.
| void BrisaMSearchClientCP::discover | ( | ) | [slot] |
Definition at line 69 of file brisamsearchclientcp.cpp.
| void BrisaMSearchClientCP::doubleDiscover | ( | ) |
Definition at line 78 of file brisamsearchclientcp.cpp.
| bool BrisaMSearchClientCP::isRunning | ( | ) | const |
Definition at line 83 of file brisamsearchclientcp.cpp.
| void BrisaUpnp::BrisaMSearchClientCP::msearchResponseReceived | ( | const QString & | usn, | |
| const QString & | location, | |||
| const QString & | st, | |||
| const QString & | ext, | |||
| const QString & | server, | |||
| const QString & | cacheControl | |||
| ) | [signal] |
Definition at line 91 of file moc_brisamsearchclientcp.cpp.
| void BrisaMSearchClientCP::start | ( | int | interval = DEFAULT_SEARCH_TIME |
) |
Definition at line 87 of file brisamsearchclientcp.cpp.
| void BrisaMSearchClientCP::stop | ( | ) |
Definition at line 108 of file brisamsearchclientcp.cpp.
1.6.3