|
CatapultServer
v0.5.0.1 (Elephant)
|
A notification subscriber that captures notifications and allows them to be undone. More...


Public Member Functions | |
| ProcessingUndoNotificationSubscriber (const observers::NotificationObserver &observer, observers::ObserverContext &observerContext) | |
| Creates a subscriber around observer and observerContext. More... | |
| void | undo () |
| Undoes all executions. 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 Member Functions | |
| void | observe (const model::Notification ¬ification) |
Private Attributes | |
| const observers::NotificationObserver & | m_observer |
| observers::ObserverContext & | m_observerContext |
| std::vector< std::vector< uint8_t > > | m_notificationBuffers |
A notification subscriber that captures notifications and allows them to be undone.
| catapult::chain::ProcessingUndoNotificationSubscriber::ProcessingUndoNotificationSubscriber | ( | const observers::NotificationObserver & | observer, |
| observers::ObserverContext & | observerContext | ||
| ) |
Creates a subscriber around observer and observerContext.
|
overridevirtual |
Notifies the subscriber of notification.
Implements catapult::model::NotificationSubscriber.


|
private |


| void catapult::chain::ProcessingUndoNotificationSubscriber::undo | ( | ) |
Undoes all executions.


|
private |
|
private |
|
private |