![]() |
VPTissue Reference Manual
|
Protocol at the server side to communicate with the node. More...
#include <ServerNodeProtocol.h>


Public Slots | |
| void | Delete (const std::string &name) |
| Orders the node to delete all files it has for a certain exploration. | |
| void | SendAck () |
| Sends an acknowledgment of a received result to the server. | |
| void | SendTask (const SimTask &task) |
| Sends a task to the server. | |
| void | StopTask () |
| Orders the node to stop its current task. | |
Signals | |
| void | ResultReceived (const SimResult &result) |
| Signals emitted when a sim result was received. | |
Signals inherited from SimPT_Parex::Protocol | |
| void | Ended () |
| Signal emitted when the protocol has ended and the connection is closed. | |
| void | Error (const std::string &error) |
| Signal emitted when an error occured. | |
Public Member Functions | |
| ServerNodeProtocol (QTcpSocket *socket, QObject *parent=0) | |
Public Member Functions inherited from SimPT_Parex::Protocol | |
| Protocol (QTcpSocket *socket, QObject *parent=nullptr) | |
| Constructor. More... | |
| Protocol (ServerInfo *server, QObject *parent=nullptr) | |
| Constructor. More... | |
| virtual | ~Protocol () |
| Destructor. | |
| bool | IsConnected () |
| Check if still connected. | |
Protected Member Functions | |
| virtual void | ReceivePtree (const boost::property_tree::ptree &reader) |
| Receive a ptree message (implements of Protocol::ReceivePtree). | |
Protected Member Functions inherited from SimPT_Parex::Protocol | |
| std::string | GetClientIP () const |
| int | GetClientPort () const |
| void | SendPtree (const boost::property_tree::ptree &pt) |
| Sends a ptree over the connection. | |
Protocol at the server side to communicate with the node.
Definition at line 35 of file ServerNodeProtocol.h.