12#include "serversettings.h"
13#include "controlpanel.h"
Control Panel.
Definition controlpanel.h:29
Server settings class.
Definition serversettings.h:24
SpaClient class.
Definition spaclient.h:48
SpaServer class.
Definition spaserver.h:37
const ServerSettings * settings() const
Returns the SpaServer Settings.
bool handle()
Process spa events and handle client requests.
bool begin(const ServerSettings &settings, unsigned long waitingTimeMs=BeginWaitingTimeMs)
Start the server.
int clientCount() const
Return the number of clients added to the server.
void end()
Stop the server.
SpaServer()
Default constructor.
SpaClient * client(const String &className) const
Return the client with the specified className.
bool removeClient(const char *className)
Remove a client from the server.
bool removeClient(const String &className)
Remove a client from the server.
bool addClient(SpaClient &client)
Add a client to the server.
bool removeClient(const SpaClient &client)
Remove a client from the server.
SpaIot name space.
Definition bussettings.h:15
const unsigned long BeginWaitingTimeMs
begin() waiting time in milliseconds
Definition global.h:85