summaryrefslogtreecommitdiffstats
path: root/src/event_manager.hpp
diff options
context:
space:
mode:
authorDhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>2017-10-18 01:41:51 -0500
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-04-11 05:05:20 +0000
commit6524b9d8385919276d21471bec4352b00146c2d0 (patch)
tree6e6097c7c798ef96cd03b2864a8de908606925ca /src/event_manager.hpp
parent06fdaff4bbfadf84123d5275433318e82643807a (diff)
downloadphosphor-dbus-monitor-6524b9d8385919276d21471bec4352b00146c2d0.zip
phosphor-dbus-monitor-6524b9d8385919276d21471bec4352b00146c2d0.tar.gz
Add persistency for events
Persist event D-bus objects using cereal Resolves openbmc/openbmc#2319 Change-Id: Ifa15d944fe1d1026761f65eeb647dcbdf6afdba0 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
Diffstat (limited to 'src/event_manager.hpp')
-rw-r--r--src/event_manager.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/event_manager.hpp b/src/event_manager.hpp
index a177739..a4ccf18 100644
--- a/src/event_manager.hpp
+++ b/src/event_manager.hpp
@@ -38,6 +38,11 @@ class Manager
const std::string& objectPath, const std::string& propertyName,
const std::string& propertyValue);
+ /** @brief Construct event d-bus objects from their persisted
+ * representations.
+ */
+ void restore();
+
private:
using EventName = std::string;
/** @brief Queue of events */
OpenPOWER on IntegriCloud