This commit is contained in:
2020-08-27 19:40:11 +03:00
parent e1f2c90790
commit 234d4e73be
9 changed files with 101 additions and 20 deletions

View File

@@ -3,10 +3,18 @@
#include "dispatcherclient.h"
class CloudServer
{
class CloudServer : public PIObject {
PIOBJECT(CloudServer)
public:
CloudServer(DispatcherClient * client);
CloudServer(DispatcherClient * c);
~CloudServer();
void addClient(DispatcherClient * c);
EVENT_HANDLER0(void, printStatus);
private:
DispatcherClient * server;
PIVector<DispatcherClient*> clients;
};
#endif // CLOUDSERVER_H