Skip to content

Commit

Permalink
updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
esmil committed Mar 10, 2009
1 parent 73e165d commit 69b1284
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions README.markdown
Expand Up @@ -6,13 +6,11 @@ About
-----

SimpleDBus is a [Lua][1] library which enables you to write simple scripts to
interact with objects and act on signals from [DBus][2]. So far it can only do
method calls and listen for signals, but support for exporting objects and
sending signals is planned.
act on signals, send signals, call methods on remote objects and export your own
objects to [DBus][2].

SimpleDBus implements a simple `poll()`-based main loop so scripts can
listen for signals and make asynchronous method calls on several busses at
a time.
act asynchronously over several busses at the same time.

[1]: http://www.lua.org
[2]: http://dbus.freedesktop.org
Expand Down Expand Up @@ -82,9 +80,9 @@ Here is a sample script:
-- now run the main loop and wait for signals to arrive
assert(SimpleDBus.mainloop(bus))

Use the command `dbus-send --session --type=signal /org/lua/SimpleDBus/Test org.lua.SimpleDBus.TestSignal.Signal string:stop` to stop this script in a nice way.
Use the command `dbus-send --session --type=signal /org/lua/SimpleDBus/Test org.lua.SimpleDBus.TestSignal.Signal string:stop` or run `stop.lua` in the examples directory to stop this script in a nice way.

For more examples look in the `examples` directory in the source tree.
For more examples look in the examples directory in the source tree.


License
Expand Down

0 comments on commit 69b1284

Please sign in to comment.