dbus-cplusplus/examples/echo
2007-02-02 19:58:02 +00:00
..
echo-introspect.xml * Fixed reading and writing of fixed-size arrays 2007-02-02 19:58:02 +00:00
echo-server.cpp * Fixed reading and writing of fixed-size arrays 2007-02-02 19:58:02 +00:00
echo-server.h * Fixed reading and writing of fixed-size arrays 2007-02-02 19:58:02 +00:00
Makefile.am * Renamed pkg-config configuration file 2006-12-31 05:16:32 +00:00
README * Fixed marshaling of D-Bus dictionary types 2006-12-11 16:50:03 +00:00

This is probably the most simple D-Bus program you could conceive

To test, run `DBUSXX_VERBOSE=1 ./echo-server` and try the following commands:

dbus-send --dest=org.freedesktop.DBus.Examples.Echo --type=method_call --print-reply /org/freedesktop/DBus/Examples/Echo org.freedesktop.DBus.EchoDemo.Random

dbus-send --dest=org.freedesktop.DBus.Examples.Echo --type=method_call --print-reply /org/freedesktop/DBus/Examples/Echo org.freedesktop.DBus.EchoDemo.Hello string:"world"

dbus-send --dest=org.freedesktop.DBus.Examples.Echo --type=method_call --print-reply /org/freedesktop/DBus/Examples/Echo org.freedesktop.DBus.EchoDemo.Sum array:int32:10,100,250

dbus-send --dest=org.freedesktop.DBus.Examples.Echo --type=method_call --print-reply /org/freedesktop/DBus/Examples/Echo org.freedesktop.DBus.EchoDemo.Info