aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMichael Albinus2008-03-30 12:52:18 +0000
committerMichael Albinus2008-03-30 12:52:18 +0000
commit134ce16c74f1a3ba0295f179eaeef2f7c1020cd2 (patch)
tree8d8fefbeae7b7554ee4e524ab421b5e8da742f13 /doc
parent90b3fc84155c58879c5193d10f92575692544572 (diff)
downloademacs-134ce16c74f1a3ba0295f179eaeef2f7c1020cd2.tar.gz
emacs-134ce16c74f1a3ba0295f179eaeef2f7c1020cd2.zip
* dbus.texi (Synchronous Methods): New parameter TIMEOUT for
dbus-call-method. (Receiving Method Calls): The timeout can be set by the calling client.
Diffstat (limited to 'doc')
-rw-r--r--doc/misc/ChangeLog6
-rw-r--r--doc/misc/dbus.texi11
2 files changed, 15 insertions, 2 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index b2760fe4c97..5ee5d887a4c 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,9 @@
12008-03-30 Michael Albinus <michael.albinus@gmx.de>
2
3 * dbus.texi (Synchronous Methods): New parameter TIMEOUT for
4 dbus-call-method.
5 (Receiving Method Calls): The timeout can be set by the calling client.
6
12008-03-29 Reiner Steib <Reiner.Steib@gmx.de> 72008-03-29 Reiner Steib <Reiner.Steib@gmx.de>
2 8
3 * gnus.texi (Top): Fix version. Add SASL. 9 * gnus.texi (Top): Fix version. Add SASL.
diff --git a/doc/misc/dbus.texi b/doc/misc/dbus.texi
index e303eb08599..b5e932a5256 100644
--- a/doc/misc/dbus.texi
+++ b/doc/misc/dbus.texi
@@ -425,7 +425,7 @@ which carries the input parameters to the object owning the method to
425be called, and a reply message returning the resulting output 425be called, and a reply message returning the resulting output
426parameters from the object. 426parameters from the object.
427 427
428@defun dbus-call-method bus service path interface method &rest args 428@defun dbus-call-method bus service path interface method &optional :timeout timeout &rest args
429This function calls @var{method} on the D-Bus @var{bus}. @var{bus} is 429This function calls @var{method} on the D-Bus @var{bus}. @var{bus} is
430either the symbol @code{:system} or the symbol @code{:session}. 430either the symbol @code{:system} or the symbol @code{:session}.
431 431
@@ -433,6 +433,12 @@ either the symbol @code{:system} or the symbol @code{:session}.
433D-Bus object path, @var{service} is registered at. @var{interface} is 433D-Bus object path, @var{service} is registered at. @var{interface} is
434an interface offered by @var{service}. It must provide @var{method}. 434an interface offered by @var{service}. It must provide @var{method}.
435 435
436If the parameter @code{:timeout} is given, the following integer
437@var{timeout} specifies the maximun number of milliseconds the method
438call must return. The default value is 25.000. If the method call
439doesn't return in time, a D-Bus error is raised (@pxref{Errors and
440Events}).
441
436All other arguments args are passed to @var{method} as arguments. 442All other arguments args are passed to @var{method} as arguments.
437They are converted into D-Bus types as described in @ref{Type 443They are converted into D-Bus types as described in @ref{Type
438Conversion}. 444Conversion}.
@@ -546,7 +552,8 @@ used as arguments for the reply message of @var{method}. This list
546can be composed like the input parameters in @ref{Type Conversion}. 552can be composed like the input parameters in @ref{Type Conversion}.
547 553
548The default D-Bus timeout when waiting for a message reply is 25 554The default D-Bus timeout when waiting for a message reply is 25
549seconds. Therefore, @var{handler} shall not last longer than 555seconds. This value could be even smaller, depending on the calling
556client. Therefore, @var{handler} shall not last longer than
550absolutely necessary. 557absolutely necessary.
551 558
552@code{dbus-register-method} returns a Lisp symbol, which can be used 559@code{dbus-register-method} returns a Lisp symbol, which can be used