]> git.ipfire.org Git - thirdparty/systemd.git/commit - TODO
bus: introduce concept of "const" properties
authorLennart Poettering <lennart@poettering.net>
Sat, 21 Dec 2013 23:12:54 +0000 (00:12 +0100)
committerLennart Poettering <lennart@poettering.net>
Sun, 22 Dec 2013 02:50:52 +0000 (03:50 +0100)
commitdf98a87ba389bdfc0359beedf47557411f3af434
tree71d3a783c313abcf658fc5300683dd5129a2e630
parent69d918b0928eaa4ce9584f4c31552b048d551f0d
bus: introduce concept of "const" properties

This way we have four kinds of properties:

a) those which are constant as long as an object exists
b) those which can change and PropertiesChange messages with contents are generated
c) those which can change and where the PropertesChange merely includes invalidation
d) those which can change but for which no events are generated

Clients (through code generators run on the introspection XML) can thus
aggressively cache a, b, c, with only d excluded.
TODO
src/libsystemd-bus/bus-introspect.c
src/libsystemd-bus/bus-objects.c
src/libsystemd-bus/test-bus-introspect.c
src/systemd/sd-bus-vtable.h