CatapultServer
v0.5.0.1 (Elephant)
|
A strongly typed notification observer. More...
Public Types | |
using | NotificationType = TNotification |
Notification type. More... | |
Public Member Functions | |
virtual | ~NotificationObserverT ()=default |
virtual const std::string & | name () const =0 |
Gets the observer name. More... | |
virtual void | notify (const TNotification ¬ification, ObserverContext &context) const =0 |
Notifies the observer with a notification to process and an observer context. More... | |
A strongly typed notification observer.
using catapult::observers::NotificationObserverT< TNotification >::NotificationType = TNotification |
Notification type.
|
virtualdefault |
|
pure virtual |
|
pure virtual |
Notifies the observer with a notification to process and an observer context.
Implemented in catapult::observers::AggregateObserverBuilder< TNotification >::DefaultAggregateNotificationObserver, and catapult::observers::FunctionalNotificationObserverT< TNotification >.