summaryrefslogtreecommitdiffstats
path: root/libmapper
diff options
context:
space:
mode:
authorMatt Spinler <spinler@us.ibm.com>2018-09-18 16:45:29 -0500
committerMatt Spinler <spinler@us.ibm.com>2018-09-28 08:24:53 -0500
commit1036b4d13183f2967115e51e45a9b7de38eb859a (patch)
tree07c5fef501f5d0a1e0051b964462995e7feaf316 /libmapper
parentcc74e4bc83c6fdf85c15bd1ebc611a7f60ad8b8b (diff)
downloadphosphor-objmgr-1036b4d13183f2967115e51e45a9b7de38eb859a.tar.gz
phosphor-objmgr-1036b4d13183f2967115e51e45a9b7de38eb859a.zip
Add full Associations support
Associations are D-Bus objects that this application creates when another application creates an instance of an org.openbmc.Associations interface. For example, if an application with D-Bus path 'pathA' creates an instance of org.openbmc.Associations with an 'associations' property of: ['forward', 'reverse', 'pathB'] the mapper will create 2 new D-Bus objects: 1) 'pathA/forward' 2) 'pathB/reverse' 1) will have an xyz.openbmc_project.Association interface with an 'endpoints' property that contains ['pathB'] 2) will have an xyz.openbmc_project.Association interface with an 'endpoints' property that contains ['pathA'] If pathA is removed from the bus, 1) should be completely removed, and 2) should have 'pathA' removed from the endpoints property. If the endpoints property in 2) is now empty, that whole object should be removed as well. If, when adding the xyz.openbmc_project.Association interface, it already exists, then the endpoints property should just be added to. This commit finishes adding support for all of this. Change-Id: Ib1b3d39407a4b75992664552a766e49fdb27123f Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Diffstat (limited to 'libmapper')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud