Systemd/src/libsystemd/sd-bus
Lennart Poettering b38cc8d563 sd-bus: add new sd_bus_set_connected_signal() API
With this new API sd-bus can synthesize a local "Connected" signal when
the connection is fully established. It mirrors the local "Disconnected"
signal that is already generated when the connection is terminated. This
is useful to be notified when connection setup is done, in order to
start method calls then, in particular when using "slow" connection
methods (for example slow TCP, or most importantly the "watch_bind"
inotify logic).

Note that one could also use hook into the initial NameAcquired signal
received from the bus broker, but that scheme works only if we actually
connect to a bus. The benefit of "Connected" OTOH is that it works with
any kind of connection.

Ideally, we'd just generate this message unconditionally, but in order
not to break clients that do not expect this message it is opt-in.
2018-01-05 13:58:32 +01:00
..
bus-bloom.c
bus-bloom.h
bus-common-errors.c
bus-common-errors.h
bus-container.c
bus-container.h
bus-control.c sd-bus: add asynchronous version of sd_bus_match() 2018-01-05 13:58:32 +01:00
bus-control.h sd-bus: add asynchronous version of sd_bus_match() 2018-01-05 13:58:32 +01:00
bus-convenience.c sd-bus: add new API sd_bus_match_signal() + sd_bus_match_signal_asnyc() 2018-01-05 13:58:32 +01:00
bus-creds.c
bus-creds.h
bus-dump.c
bus-dump.h
bus-error.c
bus-error.h
bus-gvariant.c
bus-gvariant.h
bus-internal.c
bus-internal.h sd-bus: add new sd_bus_set_connected_signal() API 2018-01-05 13:58:32 +01:00
bus-introspect.c
bus-introspect.h
bus-kernel.c sd-bus: get rid of kdbus flags cruft 2018-01-05 13:55:08 +01:00
bus-kernel.h sd-bus: get rid of kdbus flags cruft 2018-01-05 13:55:08 +01:00
bus-match.c
bus-match.h
bus-message.c
bus-message.h
bus-objects.c sd-bus: get rid of kdbus flags cruft 2018-01-05 13:55:08 +01:00
bus-objects.h
bus-protocol.h
bus-signature.c
bus-signature.h
bus-slot.c sd-bus: when disconnecting a slot, also reset its memory 2018-01-05 13:58:32 +01:00
bus-slot.h
bus-socket.c sd-bus: get rid of kdbus flags cruft 2018-01-05 13:55:08 +01:00
bus-socket.h sd-bus: optionally, use inotify to wait for bus sockets to appear 2018-01-05 13:55:08 +01:00
bus-track.c sd-bus: modernize how we generate the match string in sd-bus-track 2018-01-05 13:58:32 +01:00
bus-track.h
bus-type.c
bus-type.h
GVARIANT-SERIALIZATION
sd-bus.c sd-bus: add new sd_bus_set_connected_signal() API 2018-01-05 13:58:32 +01:00
test-bus-benchmark.c
test-bus-chat.c tree-wide: install matches asynchronously 2018-01-05 13:58:32 +01:00
test-bus-cleanup.c
test-bus-creds.c
test-bus-error.c
test-bus-gvariant.c
test-bus-introspect.c
test-bus-marshal.c
test-bus-match.c
test-bus-objects.c
test-bus-server.c
test-bus-signature.c
test-bus-track.c
test-bus-vtable-cc.cc
test-bus-vtable.c
test-bus-watch-bind.c sd-bus: optionally, use inotify to wait for bus sockets to appear 2018-01-05 13:55:08 +01:00