summaryrefslogtreecommitdiffstats
path: root/src/monitor.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/monitor.hpp')
-rw-r--r--src/monitor.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/monitor.hpp b/src/monitor.hpp
index 2fc91b5..aca64d8 100644
--- a/src/monitor.hpp
+++ b/src/monitor.hpp
@@ -23,9 +23,20 @@ class Monitor
explicit Monitor(sdbusplus::bus::bus& bus);
+ void processStart() noexcept;
+
+ void handleEvent(sdbusplus::message::message& msg,
+ const Event& event,
+ const std::tuple<std::vector<std::shared_ptr<Event>>,
+ std::vector<Action>>& eventDef);
+
private:
sdbusplus::bus::bus& bus;
+ static const std::vector<
+ std::tuple<std::vector<std::shared_ptr<Event>>,
+ std::vector<Action>>> events;
+
};
} // namespace monitoring
OpenPOWER on IntegriCloud