On Fr, 18.01.19 00:19, Stanislav Angelovič ([email protected]) wrote:

> Hi,
>
> In sd-bus, I guess it is possible to have a one-to-one connection between a
> service and a client, i.e. connection without D-bus daemon), am I right? If
> yes, is there any example (in systemd source tree or elsewhere) of sd-bus
> one-to-one communication usage that I could look at for inspiration and
> learning on how is that done?

systemctl and PID 1 optionally communicate with direct one-to-one
connections, as one example.

There's also a test that tests this mode of operation, which can be
useful as an example too:

https://github.com/systemd/systemd/blob/master/src/libsystemd/sd-bus/test-bus-server.c

Lennart

--
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to