dbus-cplusplus/examples/echo
2006-10-24 21:01:36 +00:00
..
echo-introspect.xml * Added another simple D-Bus C++ example 2006-10-24 21:01:36 +00:00
echo-server.cpp * Added another simple D-Bus C++ example 2006-10-24 21:01:36 +00:00
echo-server.h * Added another simple D-Bus C++ example 2006-10-24 21:01:36 +00:00
Makefile.am * Added another simple D-Bus C++ example 2006-10-24 21:01:36 +00:00
Makefile.in * Added another simple D-Bus C++ example 2006-10-24 21:01:36 +00:00
README * Added another simple D-Bus C++ example 2006-10-24 21:01:36 +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