2 #ifndef GRAMODS_NETWORK_DATASYNC
3 #define GRAMODS_NETWORK_DATASYNC
5 #include <gmNetwork/Protocol.hh>
6 #include <gmNetwork/SyncData.hh>
8 BEGIN_NAMESPACE_GMNETWORK;
87 void addData(std::shared_ptr<SyncData> d);
113 void processMessage(
Message m)
override;
132 std::unique_ptr<Impl> _impl;
135 END_NAMESPACE_GMNETWORK;
Synchronization of simple data, such as boolean, float or integer values, over network.
Definition: DataSync.hh:70
char getProtocolFlag() override
Returns the header byte associated with the protocol, sent in the header of messages to indicate whic...
Definition: DataSync.hh:127
TODO: write this.
Definition: Protocol.hh:21
Simple synchronizeable data container.
Definition: SyncData.hh:17
Data entity communicated by the connection to the designated protocol.
Definition: Protocol.hh:43