man: improve VtableExample
authorLuca Boccassi <bluca@debian.org>
Wed, 11 May 2022 14:19:58 +0000 (15:19 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 11 May 2022 18:12:24 +0000 (19:12 +0100)
commit0cfb00d9da8af2387e89f5aa49adfd95b365aa28
tree940a010e67e6f5bbda6483e253919c7ce2fd0b4a
parent646cba5c4208c28c56dbe52d676ab1a176c69b7f
man: improve VtableExample

The methods published by the example have a reply in the signature, but
the code was not sending any, so the client gets stuck waiting for a
response that doesn't arrive. Echo back the input string.

Update the object path to follow what would be the canonical format.

Request a service name on the bus, so that the code can be dropped in a
service and it can be dbus-activatable. It also makes it easier to see
on busctl list.
man/vtable-example.c