CatapultServer
v0.5.0.1 (Elephant)
|
A strongly typed notification validator. More...
Public Types | |
using | NotificationType = TNotification |
Notification type. More... | |
Public Member Functions | |
virtual | ~NotificationValidatorT ()=default |
virtual const std::string & | name () const =0 |
Gets the validator name. More... | |
virtual ValidationResult | validate (const TNotification ¬ification, TArgs &&... args) const =0 |
Validates a single notification with contextual information args. More... | |
A strongly typed notification validator.
using catapult::validators::NotificationValidatorT< TNotification, TArgs >::NotificationType = TNotification |
Notification type.
|
virtualdefault |
|
pure virtual |
Gets the validator name.
Implemented in catapult::validators::DemuxValidatorBuilderT< TArgs >::ConditionalValidator< TNotification >, catapult::validators::AggregateValidatorBuilder< TNotification, TArgs >::DefaultAggregateNotificationValidator, and catapult::validators::FunctionalNotificationValidatorT< TNotification, TArgs >.
|
pure virtual |
Validates a single notification with contextual information args.
Implemented in catapult::validators::AggregateValidatorBuilder< TNotification, TArgs >::DefaultAggregateNotificationValidator, catapult::validators::FunctionalNotificationValidatorT< TNotification, TArgs >, and catapult::validators::DemuxValidatorBuilderT< TArgs >::ConditionalValidator< TNotification >.