Fill in NameOwnerChanged signal support
A NameOwnerChanged signal message provides three strings containing the
service name that has changed along with its old service owner name and
new service owner name. These names are then passed along to the handler
to find/update the group associated with the changed owner name.
Change-Id: I7d67883b010fec5b282bd00a4dcc29629486af00
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
diff --git a/control/handlers.hpp b/control/handlers.hpp
index 3f42d3c..96cfa2f 100644
--- a/control/handlers.hpp
+++ b/control/handlers.hpp
@@ -44,7 +44,8 @@
{
return [group = std::move(group)](auto& zone, auto& name, bool hasOwner)
{
- // TODO Update service name owner state list of a group
+ // Update service name owner state list of a group
+ zone.setServiceOwner(&group, name, hasOwner);
};
}