/* * File: StandardValidator.h * Author: jgaebler * * Created on May 12, 2011, 4:24 PM */ #pragma once #ifndef STANDARDVALIDATOR_H #define STANDARDVALIDATOR_H #include "MessageValidator.h" namespace ubeeme { namespace moversight { /** * @brief Determines, if a received message valid within the current membership setting, or not. * * The class is an implementation of the message validator interface and is the standard validator within moversight. * @author Jan Gäbler * @class StandardValidator * @ingroup Moversight */ class StandardValidator : public MessageValidator { public: StandardValidator(Dispatcher & dis); virtual ~StandardValidator(); bool isValid( const MoversightMessage& msg) const; bool isValid( const MulticastMessage& msg) const; bool isValid( const ExteriorMessage& msg) const; }; } } #endif /* STANDARDVALIDATOR_H */