2 #ifndef GRAMODS_NETWORK_RUNSYNC
3 #define GRAMODS_NETWORK_RUNSYNC
5 #include <gmNetwork/Protocol.hh>
9 #include <condition_variable>
11 BEGIN_NAMESPACE_GMNETWORK;
35 void processMessage(
Message m)
override;
41 void lostPeer(
size_t idx)
override;
53 std::unique_ptr<Impl> _impl;
56 END_NAMESPACE_GMNETWORK;
TODO: write this.
Definition: Protocol.hh:21
Execution synchronization over network, i.e.
Definition: RunSync.hh:17
char getProtocolFlag() override
Returns the header byte associated with the protocol, sent in the header of messages to indicate whic...
Definition: RunSync.hh:48
Data entity communicated by the connection to the designated protocol.
Definition: Protocol.hh:43