picloud next iteration

This commit is contained in:
2021-04-05 17:42:02 +03:00
parent 8eff5d24c9
commit f0d4801d3c
13 changed files with 237 additions and 90 deletions

View File

@@ -7,14 +7,18 @@
class CloudServer : public PIObject {
PIOBJECT(CloudServer)
public:
CloudServer(DispatcherClient * c);
CloudServer(DispatcherClient * c, const PIString & sname);
~CloudServer();
PIString serverName() const;
void addClient(DispatcherClient * c);
void removeClient(DispatcherClient * c);
PIVector<DispatcherClient*> getClients();
EVENT_HANDLER0(void, printStatus);
private:
DispatcherClient * server;
PIVector<DispatcherClient*> clients;
PIString server_name;
};
#endif // CLOUDSERVER_H