diff options
| author | Raptor Engineering Development Team <support@raptorengineering.com> | 2018-05-12 21:29:04 -0500 | 
|---|---|---|
| committer | Raptor Engineering Development Team <support@raptorengineering.com> | 2018-05-12 21:29:04 -0500 | 
| commit | 18150da316af22a7ddc468a7cdc015f5f40397e2 (patch) | |
| tree | d95503b60604599e91d392e1a4432088e6d80d58 | |
| parent | b8ed337ad57a278bc099bc9d5e3c819ffdeab5c1 (diff) | |
| download | phosphor-host-ipmid-05-11-2018.tar.gz phosphor-host-ipmid-05-11-2018.zip | |
Make isValid public05-11-2018
| -rw-r--r-- | utils.hpp | 15 | 
1 files changed, 8 insertions, 7 deletions
| @@ -61,6 +61,14 @@ class ServiceCache {          sdbusplus::message::message newMethodCall(sdbusplus::bus::bus& bus,                                                    const char *intf,                                                    const char *method); + +        /** @brief Check to see if the current cache is valid +         * +         * @param[in] bus - The bus used for the service lookup +         * @return True if the cache is valid false otherwise. +         */ +        bool isValid(sdbusplus::bus::bus& bus) const; +      private:          /** @brief DBUS interface provided by the service */          const std::string intf; @@ -70,13 +78,6 @@ class ServiceCache {          std::experimental::optional<std::string> cachedService;          /** @brief The name of the bus used in the service lookup */          std::experimental::optional<std::string> cachedBusName; - -        /** @brief Check to see if the current cache is valid -         * -         * @param[in] bus - The bus used for the service lookup -         * @return True if the cache is valid false otherwise. -         */ -        bool isValid(sdbusplus::bus::bus& bus) const;  };  /** | 

