1 #ifndef SIMPT_PAREX_CLIENT_HANDLER_H_
2 #define SIMPT_PAREX_CLIENT_HANDLER_H_
31 class ExplorationManager;
32 class ServerClientProtocol;
47 ClientHandler(QTcpSocket *socket,
const std::shared_ptr<ExplorationManager> &explorationManager,
QObject *parent = 0);
50 void DeleteExploration(
const std::string &name);
52 void DisplayError(
const std::string &error)
const;
56 void RegisterExploration(
const Exploration *exploration);
58 void SendExplorationNames();
60 void Subscribe(
const std::string &name);
62 void Unsubscribe(
const std::string &name);
66 std::shared_ptr<ExplorationManager> m_exploration_manager;
67 std::string m_subscribed_exploration;
72 #endif // end-of-include-guard
ClientHandler(QTcpSocket *socket, const std::shared_ptr< ExplorationManager > &explorationManager, QObject *parent=0)
Constructor.
Connection from the server to one client, handles client messages and requests.
ServerClient Protocol to deal with Client-Server communication (Server-side)
Namespace for SimPT parameter explorer package.
see the online Qt documentation
Class describing a generic exploration.