42 lines
1.1 KiB
C++
42 lines
1.1 KiB
C++
/*
|
|
* File: SemanticSplitValidator.h
|
|
* Author: jgaebler
|
|
*
|
|
* Created on May 12, 2011, 6:01 PM
|
|
*/
|
|
#pragma once
|
|
|
|
#ifndef SPLITVALIDATOR_H
|
|
#define SPLITVALIDATOR_H
|
|
|
|
#include "MessageValidator.h"
|
|
|
|
namespace ubeeme {
|
|
namespace moversight {
|
|
|
|
/**
|
|
* @brief Determines, if a received message valid within the current membership setting, or not.
|
|
* @author Jan Gäbler, Robert Noack
|
|
* @class SemanticSplitValidator
|
|
* @ingroup Moversight
|
|
*
|
|
* The class is an implementation of the message validator interface and is possible used
|
|
* during the split operation as validator within moversight.
|
|
*/
|
|
class SemanticSplitValidator : public MessageValidator {
|
|
public:
|
|
|
|
SemanticSplitValidator(Dispatcher & dis);
|
|
virtual ~SemanticSplitValidator();
|
|
|
|
bool isValid( const MoversightMessage& msg) const;
|
|
bool isValid( const MulticastMessage& msg) const;
|
|
bool isValid( const ExteriorMessage& msg) const;
|
|
|
|
};
|
|
}
|
|
}
|
|
|
|
#endif /* SPLITVALIDATOR_H */
|
|
|