diff options
Diffstat (limited to 'fault-monitor/fru-fault-monitor.hpp')
-rw-r--r-- | fault-monitor/fru-fault-monitor.hpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/fault-monitor/fru-fault-monitor.hpp b/fault-monitor/fru-fault-monitor.hpp index b686560..897ef05 100644 --- a/fault-monitor/fru-fault-monitor.hpp +++ b/fault-monitor/fru-fault-monitor.hpp @@ -53,7 +53,7 @@ class Add std::bind(std::mem_fn(&Add::created), this, std::placeholders::_1)) { - //Do nothing + processExistingCallouts(bus); } private: @@ -66,6 +66,11 @@ class Add * @param[in] msg - Data associated with subscribed signal */ void created(sdbusplus::message::message& msg); + + /** @brief This function process all callouts at application start + * @param[in] bus - The Dbus bus object + */ + void processExistingCallouts(sdbusplus::bus::bus& bus); }; /** @class Remove |