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
27
class
NotificationSubscriber
{
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 ¬ification)=0
Notifies the subscriber of notification.
catapult-server
src
catapult
model
NotificationSubscriber.h
Generated by
1.8.16