Manage SSDP discovery.
More...
#include <SSDPHandler.h>
|
| SSDPHandler (WebServer *webserver, const quint16 &flatBufPort, QObject *parent=nullptr) |
|
| SSDPServer (QObject *parent=nullptr) |
| Construct the server, listen on default ssdp address/port with multicast. More...
|
|
void | initServer () |
| Prepare server after thread start.
|
|
bool | start () |
| Start SSDP. More...
|
|
void | stop () |
| Stop SSDP.
|
|
void | sendMSearchResponse (const QString &st, const QString &senderIp, const quint16 &senderPort) |
| Send an answer to mSearch requester. More...
|
|
void | sendByeBye (const QString &st) |
| Send ByeBye notification (on SSDP stop) (repeated 3 times) More...
|
|
void | sendAlive (const QString &st) |
| Send a NOTIFY msg on SSDP startup to notify our presence (repeated 3 times) More...
|
|
void | sendUpdate (const QString &st) |
| Send a NOTIFY msg as ssdp:update to notify about changes. More...
|
|
void | setDescriptionAddress (const QString &addr) |
| Overwrite description address. More...
|
|
void | setFlatBufPort (const quint16 &port) |
| set new flatbuffer server port
|
|
|
void | msearchRequestReceived (const QString &target, const QString &mx, const QString address, const quint16 &port) |
| Emits whenever a new SSDP search "man : ssdp:discover" is received along with the service type. More...
|
|
Manage SSDP discovery.
SimpleServiceDisoveryProtocol is the discovery subset of UPnP. Implemented is spec V1.0. As SSDP requires a webserver, this class depends on it UPnP 1.0: spec: http://upnp.org/specs/arch/UPnP-arch-DeviceArchitecture-v1.0.pdf
§ handleSettingsUpdate
void SSDPHandler::handleSettingsUpdate |
( |
const settings::type & |
type, |
|
|
const QJsonDocument & |
config |
|
) |
| |
|
slot |
Handle settings update from Hyperion Settingsmanager emit.
- Parameters
-
type | settingyType from enum |
config | configuration object |
The documentation for this class was generated from the following files: