Re: Direct connection between peers in sd-bus

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fr, 18.01.19 00:19, Stanislav Angelovič (angelovic.s@xxxxxxxxx) 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
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux