SSDP stack implementantion for UPnP control points. More...
#include <BrisaUpnp/BrisaSSDPClient>
Public Slots | |
| void | start () |
| void | stop () |
| bool | isRunning () const |
Signals | |
| void | newDeviceEvent (const QString &usn, const QString &location, const QString &st, const QString &ext, const QString &server, const QString &cacheControl) |
| void | removedDeviceEvent (const QString &usn) |
Public Member Functions | |
| BrisaSSDPClient (QObject *parent=0) | |
| ~BrisaSSDPClient () | |
SSDP stack implementantion for UPnP control points.
Create a new BrisaSSCPClient and call "start()" to connect to the multicast group and start listening to ssdp notification messages.
When BrisaSSDPClient receives a notification message it emits "newDeviceEvent()" in case of "ssdp:alive" and "removedDeviceEvent" in case of "ssdp:byebye". Other ssdp messages will be ignored.
Definition at line 51 of file brisassdpclient.h.
| BrisaSSDPClient::BrisaSSDPClient | ( | QObject * | parent = 0 |
) |
Constructs a BrisaSSCPClient with the given parent.
Definition at line 33 of file brisassdpclient.cpp.
| BrisaSSDPClient::~BrisaSSDPClient | ( | ) |
Destroys the client.
Stops the client if it's running.
Definition at line 42 of file brisassdpclient.cpp.
| bool BrisaSSDPClient::isRunning | ( | ) | const [slot] |
Checks if the client is running
Definition at line 67 of file brisassdpclient.cpp.
| void BrisaUpnp::BrisaSSDPClient::newDeviceEvent | ( | const QString & | usn, | |
| const QString & | location, | |||
| const QString & | st, | |||
| const QString & | ext, | |||
| const QString & | server, | |||
| const QString & | cacheControl | |||
| ) | [signal] |
This signal is emitted when the client receives a "ssdp:alive" message from a device joining the network
Definition at line 101 of file moc_brisassdpclient.cpp.
| void BrisaUpnp::BrisaSSDPClient::removedDeviceEvent | ( | const QString & | usn | ) | [signal] |
This signal is emitted when the client receives a "ssdp:byebye" message from a device leaving the network
Definition at line 108 of file moc_brisassdpclient.cpp.
| void BrisaSSDPClient::start | ( | ) | [slot] |
Connects to the MultiCast group and starts the client.
Definition at line 49 of file brisassdpclient.cpp.
| void BrisaSSDPClient::stop | ( | ) | [slot] |
1.6.3