CatapultServer  v0.5.0.1 (Elephant)
NotificationSubscriber.h
Go to the documentation of this file.
1 
21 #pragma once
22 #include "Notifications.h"
23 
24 namespace catapult { namespace model {
25 
28  public:
29  virtual ~NotificationSubscriber() = default;
30 
31  public:
33  virtual void notify(const Notification& notification) = 0;
34  };
35 }}
catapult::model::NotificationSubscriber
A notification subscriber.
Definition: NotificationSubscriber.h:27
Notifications.h
catapult::model::NotificationSubscriber::~NotificationSubscriber
virtual ~NotificationSubscriber()=default
catapult::model::Notification
A basic notification.
Definition: Notifications.h:36
catapult
Definition: AddressExtractionExtension.cpp:28
catapult::model::NotificationSubscriber::notify
virtual void notify(const Notification &notification)=0
Notifies the subscriber of notification.