kDB: Knowledge DataBase
|
#include <SynchronisationManager.h>
Classes | |
struct | Private |
Public Types | |
enum | Version { v1 , v2 } |
Public Member Functions | |
SynchronisationManager (const QString &_name, const kDB::Repository::TriplesStore &_store, AbstractCommunicationInterface *_communicationInterface) | |
SynchronisationManager (const QString &_name, const kDB::Repository::TriplesStore &_store, AbstractCommunicationInterface *_communicationInterface, Version _version) | |
void | handleStatus (const Status &_status) |
void | handleVote (const Vote &_vote) |
void | handleRevisionsRequest (const RevisionsRequest &_request) |
void | handleRevisions (const Revisions &_revisions) |
void | start () |
The synchronisation manager is used to syncrhonise the content of a triple store with other agents. It implements the synchronisation protocol described in:
SynchronisationManager::SynchronisationManager | ( | const QString & | _name, |
const kDB::Repository::TriplesStore & | _store, | ||
AbstractCommunicationInterface * | _communicationInterface ) |
Construct a SynchronisationManager for v1