Files
pip/utils/cloud_dispatcher/cloudserver.h
2020-08-27 19:40:11 +03:00

21 lines
378 B
C++

#ifndef CLOUDSERVER_H
#define CLOUDSERVER_H
#include "dispatcherclient.h"
class CloudServer : public PIObject {
PIOBJECT(CloudServer)
public:
CloudServer(DispatcherClient * c);
~CloudServer();
void addClient(DispatcherClient * c);
EVENT_HANDLER0(void, printStatus);
private:
DispatcherClient * server;
PIVector<DispatcherClient*> clients;
};
#endif // CLOUDSERVER_H