update20140630

This commit is contained in:
stubbfel
2014-06-30 13:58:10 +02:00
parent 565970632e
commit 1e6cf42df3
877 changed files with 1146249 additions and 0 deletions

View File

@@ -0,0 +1,48 @@
/*
* File: SynchronizationService.h
* Author: jgaebler
*
* Created on July 26, 2012, 9:28 AM
*/
#pragma once
#ifndef SYNCHRONIZATIONSERVICE_H
#define SYNCHRONIZATIONSERVICE_H
#include "common/Defines.h"
#include "common/MoversightService.h"
namespace ubeeme {
namespace moversight {
class MulticastMessage;
class StorageService;
/**
* @class SynchronizationService
* @author Jan Gäbler
* @brief This service provides synchronization related group communication services, to ensure the virtual synchrony within the group.
* @ingroup Moversight
*/
class SynchronizationService : public MoversightService {
public:
SynchronizationService(Dispatcher & dis);
virtual ~SynchronizationService();
virtual void initialise();
virtual void finalise();
void storeMessage( MulticastMessage & msg);
bool synchronize();
private:
StorageService * storage;
};
}
}
#endif /* SYNCHRONIZATIONSERVICE_H */