This class represents the manager of all server interfaces of the nymea server. More...
Header: | #include <ServerManager> |
Inherits: |
ServerManager(NymeaConfiguration * configuration, QObject * parent = nullptr) | |
BluetoothServer * | bluetoothServer() const |
JsonRPCServer * | jsonServer() const |
MockTcpServer * | mockTcpServer() const |
MqttBroker * | mqttBroker() const |
RestServer * | restServer() const |
void | setServerName(const QString & serverName) |
This class represents the manager of all server interfaces of the nymea server.
The ServerManager starts the JsonRPCServer and the RestServer. He also loads and provides the SSL configurations for the secure WebServer and WebSocketServer connection.
See also JsonRPCServer and RestServer.
Constructs a ServerManager with the given configuration and parent.
Returns the pointer to the created BluetoothServer in this ServerManager.
Returns the pointer to the created JsonRPCServer in this ServerManager.
Returns the pointer to the created MockTcpServer in this ServerManager.
Returns the pointer to the created RestServer in this ServerManager.
[slot]
void ServerManager::setServerName(const QString & serverName)Set the server name for all servers to the given serverName.