You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i am trying to write one applicaton to monitor properties changed of 2 different iterfaces of 2 different dbus objects
first i tried with just one interface , it is working fine, but later i tried with 2 interfaces using below code
std::vector<std::unique_ptr<sdbusplus::bus::match::match>> matches;
auto matchold = std::make_unique<sdbusplus::bus::match::match>(*systemBus,propertiesMatchOldString,onPropertyUpdate,nullptr);
matches.emplace_back(std::move(matchold));
auto matchnew = std::make_unique<sdbusplus::bus::match::match>(*systemBus,propertiesMatchNewString,onPropertyUpdate,nullptr);
matches.emplace_back(std::move(matchnew));
if am using matches vector instead of single match , i am not getting notificaitons when ever inetrface properties are changed , please help me to fix this issue
i am attaching my source code file here IpMonitor.txt
The text was updated successfully, but these errors were encountered:
Hmm. The match operators are wrong, but you were using unique_ptr/make_unique which shouldn't require a move. Let me think about what else might be broken.
i am trying to write one applicaton to monitor properties changed of 2 different iterfaces of 2 different dbus objects
first i tried with just one interface , it is working fine, but later i tried with 2 interfaces using below code
if am using matches vector instead of single match , i am not getting notificaitons when ever inetrface properties are changed , please help me to fix this issue
i am attaching my source code file here
IpMonitor.txt
The text was updated successfully, but these errors were encountered: