CatapultServer
v0.5.0.1 (Elephant)
|
A notification subscriber that validates notifications. More...
Public Member Functions | |
ValidatingNotificationSubscriber (const stateless::NotificationValidator &validator) | |
Creates a validating notification subscriber around validator. More... | |
ValidationResult | result () const |
Gets the aggregate validation result. More... | |
void | notify (const model::Notification ¬ification) override |
Notifies the subscriber of notification. More... | |
Public Member Functions inherited from catapult::model::NotificationSubscriber | |
virtual | ~NotificationSubscriber ()=default |
Private Attributes | |
const stateless::NotificationValidator & | m_validator |
ValidationResult | m_result |
A notification subscriber that validates notifications.
|
inlineexplicit |
Creates a validating notification subscriber around validator.
|
inlineoverridevirtual |
Notifies the subscriber of notification.
Implements catapult::model::NotificationSubscriber.
|
inline |
Gets the aggregate validation result.
|
private |
|
private |