mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-27 16:51:06 -07:00
(Receiving Method Calls): Clean up previous change.
This commit is contained in:
parent
8b80cdf500
commit
ac134f2fc7
2 changed files with 14 additions and 8 deletions
|
|
@ -1,3 +1,7 @@
|
|||
2008-11-28 Richard M Stallman <rms@gnu.org>
|
||||
|
||||
* dbus.texi (Receiving Method Calls): Clean up previous change.
|
||||
|
||||
2008-11-26 Michael Albinus <michael.albinus@gmx.de>
|
||||
|
||||
* dbus.texi (Type Conversion): New defuns `dbus-string-to-byte-array',
|
||||
|
|
|
|||
|
|
@ -1254,14 +1254,16 @@ registered.
|
|||
@var{interface} is the interface offered by @var{service}. It must
|
||||
provide @var{method}.
|
||||
|
||||
@var{handler} is a Lisp function to be called when when a @var{method}
|
||||
call is is received. It must accept as arguments the input arguments
|
||||
of @var{method}. @var{handler} must return a list, which elements are
|
||||
used as arguments for the reply message of @var{method}. This list
|
||||
can be composed like the input parameters in @ref{Type Conversion}.
|
||||
If only one Lisp object is returned, and this object is not a consp,
|
||||
then @var{handler} can return this object directly, instead of of list
|
||||
of this object.
|
||||
@var{handler} is a Lisp function to be called when a @var{method} call
|
||||
is received. It must accept as arguments the input arguments of
|
||||
@var{method}. @var{handler} should return a list, whose elements are
|
||||
to be used as arguments for the reply message of @var{method}. This
|
||||
list can be composed like the input parameters in @ref{Type
|
||||
Conversion}.
|
||||
|
||||
If @var{handler} wants to return just one Lisp object and it is not a
|
||||
cons cell, @var{handler} can return this object directly, instead of
|
||||
returning a list containing the object.
|
||||
|
||||
The default D-Bus timeout when waiting for a message reply is 25
|
||||
seconds. This value could be even smaller, depending on the calling
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue