CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
25 namespace catapult {
namespace model {
class TransactionRegistry; } }
27 namespace catapult {
namespace validators {
41 const std::string&
name()
const override;
std::unique_ptr< const model::NotificationPublisher > NotificationPublisherPointer
Definition: NotificationValidatorAdapter.h:34
std::unique_ptr< const stateless::NotificationValidator > NotificationValidatorPointer
Definition: NotificationValidatorAdapter.h:33
ValidationResult
Enumeration of all possible validation results.
Definition: ValidationResult.h:51
NotificationPublisherPointer m_pPublisher
Definition: NotificationValidatorAdapter.h:47
NotificationValidatorPointer m_pValidator
Definition: NotificationValidatorAdapter.h:46
Definition: NotificationValidatorAdapter.h:31
Wrapper around a strongly typed entity and its associated metadata.
Definition: WeakEntityInfo.h:33
Definition: EntityValidator.h:31
A notification subscriber that validates notifications.
Definition: ValidatingNotificationSubscriber.h:29
const std::string & name() const override
Gets the validator name.
Definition: NotificationValidatorAdapter.cpp:34
ValidationResult result() const
Gets the aggregate validation result.
Definition: ValidatingNotificationSubscriber.h:39
Definition: AddressExtractionExtension.cpp:28
ValidationResult validate(const model::WeakEntityInfo &entityInfo) const override
Definition: NotificationValidatorAdapter.cpp:38
NotificationValidatorAdapter(NotificationValidatorPointer &&pValidator, NotificationPublisherPointer &&pPublisher)
Creates a new adapter around pValidator and pPublisher.
Definition: NotificationValidatorAdapter.cpp:27