CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
26 namespace catapult {
namespace validators {
29 template<
typename TNotification,
typename... TArgs>
40 virtual const std::string&
name()
const = 0;
virtual const std::string & name() const =0
Gets the validator name.
A strongly typed notification validator.
Definition: NotificationValidator.h:30
ValidationResult
Enumeration of all possible validation results.
Definition: ValidationResult.h:51
TNotification NotificationType
Notification type.
Definition: NotificationValidator.h:33
Definition: AddressExtractionExtension.cpp:28
virtual ValidationResult validate(const TNotification ¬ification, TArgs &&... args) const =0
Validates a single notification with contextual information args.
virtual ~NotificationValidatorT()=default