A SyncState holds the values of a sync state message which is passed to the onReceivedSyncState callback which was given to the ChronoSyn2013 constructor. More...
#include <chrono-sync2013.hpp>
Public Member Functions | |
SyncState (const std::string &dataPrefixUri, int sessionNo, int sequenceNo) | |
const std::string & | getDataPrefix () const |
Get the application data prefix for this sync state message. More... | |
int | getSessionNo () const |
Get the session number associated with the application data prefix for this sync state message. More... | |
int | getSequenceNo () const |
Get the sequence number for this sync state message. More... | |
A SyncState holds the values of a sync state message which is passed to the onReceivedSyncState callback which was given to the ChronoSyn2013 constructor.
Note: this has the same info as the Protobuf class Sync::SyncState, but we make a separate class so that we don't need the Protobuf definition in the ChronoSync API.
|
inline |
Get the application data prefix for this sync state message.
|
inline |
Get the sequence number for this sync state message.
|
inline |
Get the session number associated with the application data prefix for this sync state message.