This class creates a TCP server which accepts connections from boblight clients.
More...
#include <BoblightServer.h>
This class creates a TCP server which accepts connections from boblight clients.
§ BoblightServer()
BoblightServer::BoblightServer |
( |
Hyperion * |
hyperion, |
|
|
const QJsonDocument & |
config |
|
) |
| |
BoblightServer constructor.
- Parameters
-
hyperion | Hyperion instance |
port | port number on which to start listening for connections |
§ active()
bool BoblightServer::active |
( |
| ) |
|
- Returns
- true if server is active (bind to a port)
§ getPort()
uint16_t BoblightServer::getPort |
( |
| ) |
const |
- Returns
- the port number on which this TCP listens for incoming connections
§ handleSettingsUpdate
void BoblightServer::handleSettingsUpdate |
( |
const settings::type & |
type, |
|
|
const QJsonDocument & |
config |
|
) |
| |
|
slot |
Handle settings update from Hyperion Settingsmanager emit or this constructor.
- Parameters
-
type | settingyType from enum |
config | configuration object |
The documentation for this class was generated from the following files:
- include/boblightserver/BoblightServer.h
- libsrc/boblightserver/BoblightServer.cpp