|
CatapultServer
v0.5.0.1 (Elephant)
|
A notification observer to entity observer adapter that reverses the order of raised notifications. More...


Public Member Functions | |
| ReverseNotificationObserverAdapter (NotificationObserverPointer &&pObserver, NotificationPublisherPointer &&pPublisher) | |
| Creates a new adapter around pObserver and pPublisher. More... | |
| const std::string & | name () const override |
| Gets the observer name. More... | |
| void | notify (const model::WeakEntityInfo &entityInfo, ObserverContext &context) const override |
| Notifies the observer with an entityInfo to process and an observer context. More... | |
Public Member Functions inherited from catapult::observers::EntityObserver | |
| virtual | ~EntityObserver ()=default |
Private Types | |
| using | NotificationObserverPointer = NotificationObserverPointerT< model::Notification > |
| using | NotificationPublisherPointer = std::unique_ptr< const model::NotificationPublisher > |
Private Attributes | |
| NotificationObserverPointer | m_pObserver |
| NotificationPublisherPointer | m_pPublisher |
A notification observer to entity observer adapter that reverses the order of raised notifications.
|
private |
|
private |
| catapult::observers::ReverseNotificationObserverAdapter::ReverseNotificationObserverAdapter | ( | NotificationObserverPointer && | pObserver, |
| NotificationPublisherPointer && | pPublisher | ||
| ) |
Creates a new adapter around pObserver and pPublisher.
|
overridevirtual |
Gets the observer name.
Implements catapult::observers::EntityObserver.
|
overridevirtual |
Notifies the observer with an entityInfo to process and an observer context.
Implements catapult::observers::EntityObserver.
|
private |
|
private |