#include "subscriber.hpp"


Public Types | |
| using | EventType = EventKey |
Public Member Functions | |
| virtual | ~Subscriber ()=default |
| virtual void | on_notify (SubscriptionSetId set_id, const EventType &key, Arguments &&... args)=0 |
Base class that determines the subscriber.
| EventKey | type of listening event |
| Dispatcher | thread dispatcher to execute tasks |
| Arguments | list of event arguments |
| using iroha::subscription::Subscriber< EventKey, Dispatcher, Arguments >::EventType = EventKey |
|
virtualdefault |
|
pure virtual |
Notification callback function
| set_id | the id of the subscription set |
| key | notified event |
| args | event data |