PICloud change protocol > server_uuid

This commit is contained in:
2021-04-12 11:35:34 +03:00
parent f75ce1e8e0
commit dbd2267a8c
12 changed files with 56 additions and 33 deletions

View File

@@ -7,9 +7,9 @@
class CloudServer : public PIObject {
PIOBJECT(CloudServer)
public:
CloudServer(DispatcherClient * c, const PIString & sname);
CloudServer(DispatcherClient * c, const PIByteArray & sname);
~CloudServer();
PIString serverName() const;
PIByteArray serverUUID() const;
void addClient(DispatcherClient * c);
void removeClient(DispatcherClient * c);
PIVector<DispatcherClient*> getClients();
@@ -20,7 +20,7 @@ private:
DispatcherClient * server;
PIVector<DispatcherClient*> clients;
PIMap<uint, DispatcherClient*> index_clients;
PIString server_name;
PIByteArray server_uuid;
};
#endif // CLOUDSERVER_H