VPTissue Reference Manual
|
Class that implements the node version of the protocol. More...
#include <NodeProtocol.h>
Public Slots | |
void | SendSimResult (const SimResult &result) |
Sends the result of a simulation back to the server. | |
Signals | |
void | Delete (const std::string &name) const |
Emitted to indicate an exploration must be deleted from the disk. | |
void | StopTask () const |
Emitted to indicate the current task must be stopped. | |
void | SuccessfullySent () const |
Signal emitted when a SimTask is successfully sent. | |
void | TaskReceived (const SimTask *task) const |
Signal emitted when a SimTask is 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 | |
NodeProtocol (QTcpSocket *socket, QObject *parent=0) | |
Constructor. | |
virtual | ~NodeProtocol () |
Destructor. | |
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 (implementats 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. | |
Class that implements the node version of the protocol.
Definition at line 35 of file NodeProtocol.h.