dbus-cplusplus/examples/echo
pdurante 7835d90bdc * Renamed pkg-config configuration file
* Initial support for out-of-tree builds and crosscompilation (Robert Schwebel)


git-svn-id: http://dev.openwengo.org/svn/openwengo/wengophone-ng/branches/wengophone-dbus-api/libs/dbus@9043 30a43799-04e7-0310-8b2b-ea0d24f86d0e
2006-12-31 05:16:32 +00:00
..
echo-introspect.xml * Fixed marshaling of D-Bus dictionary types 2006-12-11 16:50:03 +00:00
echo-server.cpp * Fixed marshaling of D-Bus dictionary types 2006-12-11 16:50:03 +00:00
echo-server.h * Fixed marshaling of D-Bus dictionary types 2006-12-11 16:50:03 +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