Add simple data listeners
authorOleksandr Panasiuk <oleksandr.panasiuk@pantheon.tech>
Tue, 28 Mar 2023 09:36:14 +0000 (12:36 +0300)
committerAnil Belur <abelur@linuxfoundation.org>
Wed, 19 Jun 2024 00:41:46 +0000 (10:41 +1000)
commitbdef022112fcd385aae03746ff24cedd0d3df3d2
tree9826cc40e48220eb94aa7be04e370469e04a3e9b
parent7a37444e5905fed97910214ac0ce47cbb3821dae
Add simple data listeners

DataTreeChangeListener is a rather complex contract, where users
sometimes want to receive only the latest state or the delta of the
state.

Add DataListener, which reports the current value and
DataChangeListener, which reports changes.

JIRA: MDSAL-813
Change-Id: I7db024f76709b9d4afcc0db5cbca3f1d35218e3f
Signed-off-by: Oleksandr Panasiuk <oleksandr.panasiuk@pantheon.tech>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-test-model/src/main/yang/mdsal813.yang [new file with mode: 0644]