MCPcopy Create free account
hub / github.com/Icinga/icinga2 / EventsSubscriber

Method EventsSubscriber

lib/remote/eventqueue.cpp:217–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215}
216
217EventsSubscriber::EventsSubscriber(std::set<EventType> types, String filter, const String& filterSource)
218 : m_Types(std::move(types)), m_Inbox(new EventsInbox(std::move(filter), filterSource))
219{
220 EventsRouter::GetInstance().Subscribe(m_Types, m_Inbox);
221}
222
223EventsSubscriber::~EventsSubscriber()
224{

Callers

nothing calls this directly

Calls 1

SubscribeMethod · 0.80

Tested by

no test coverage detected