CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
25 namespace catapult {
namespace model {
class TransactionRegistry; } }
27 namespace catapult {
namespace observers {
40 const std::string&
name()
const override;
const NotificationObserver & m_observer
Definition: NotificationObserverAdapter.cpp:44
NotificationObserverPointer m_pObserver
Definition: NotificationObserverAdapter.h:45
void notify(const model::WeakEntityInfo &entityInfo, ObserverContext &context) const override
Notifies the observer with an entityInfo to process and an observer context.
Definition: NotificationObserverAdapter.cpp:60
Context passed to all the observers.
Definition: ObserverContext.h:78
Publish notification on observer channel.
constexpr bool IsSet(NotificationType type, NotificationChannel channel)
Checks if type has channel set.
Definition: NotificationType.h:61
model::AccountAddressNotification Notification
Definition: AddressValidator.cpp:27
Definition: EntityObserver.h:30
A notification observer to entity observer adapter.
Definition: NotificationObserverAdapter.h:30
NotificationPublisherPointer m_pPublisher
Definition: NotificationObserverAdapter.h:46
Wrapper around a strongly typed entity and its associated metadata.
Definition: WeakEntityInfo.h:33
const std::string & name() const override
Gets the observer name.
Definition: NotificationObserverAdapter.cpp:56
NotificationObserverPointerT< model::Notification > NotificationObserverPointer
Definition: NotificationObserverAdapter.h:32
ObserverContext & m_context
Definition: NotificationObserverAdapter.cpp:45
NotificationObserverT< model::Notification > NotificationObserver
A notification observer for processing a generic Notification.
Definition: ObserverTypes.h:30
NotificationObserverAdapter(NotificationObserverPointer &&pObserver, NotificationPublisherPointer &&pPublisher)
Creates a new adapter around pObserver and pPublisher.
Definition: NotificationObserverAdapter.cpp:49
std::unique_ptr< const NotificationObserverT< TNotification > > NotificationObserverPointerT
A notification observer (unique) pointer.
Definition: ObserverTypes.h:34
std::unique_ptr< const model::NotificationPublisher > NotificationPublisherPointer
Definition: NotificationObserverAdapter.h:33
Definition: AddressExtractionExtension.cpp:28