b38cc8d563
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. |
||
---|---|---|
.. | ||
bus-bloom.c | ||
bus-bloom.h | ||
bus-common-errors.c | ||
bus-common-errors.h | ||
bus-container.c | ||
bus-container.h | ||
bus-control.c | ||
bus-control.h | ||
bus-convenience.c | ||
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 | ||
bus-introspect.c | ||
bus-introspect.h | ||
bus-kernel.c | ||
bus-kernel.h | ||
bus-match.c | ||
bus-match.h | ||
bus-message.c | ||
bus-message.h | ||
bus-objects.c | ||
bus-objects.h | ||
bus-protocol.h | ||
bus-signature.c | ||
bus-signature.h | ||
bus-slot.c | ||
bus-slot.h | ||
bus-socket.c | ||
bus-socket.h | ||
bus-track.c | ||
bus-track.h | ||
bus-type.c | ||
bus-type.h | ||
GVARIANT-SERIALIZATION | ||
sd-bus.c | ||
test-bus-benchmark.c | ||
test-bus-chat.c | ||
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 |