summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-07-17 01:45:04 +0200
committerMarcel Holtmann <marcel@holtmann.org>2009-07-17 01:45:04 +0200
commitb3e608cff4acab45b133834b60f0dda072b5f7fe (patch)
treea1667db02ccdd88849e58810ccd1022b9ce27e3a /doc
parentb640d0a5a448a5fa119512ad76a915adf11d2c25 (diff)
downloadconnman-b3e608cff4acab45b133834b60f0dda072b5f7fe.tar.gz
connman-b3e608cff4acab45b133834b60f0dda072b5f7fe.tar.bz2
connman-b3e608cff4acab45b133834b60f0dda072b5f7fe.zip
Mention to set D-Bus timeout for service connect methods
Diffstat (limited to 'doc')
-rw-r--r--doc/manager-api.txt5
-rw-r--r--doc/service-api.txt5
2 files changed, 10 insertions, 0 deletions
diff --git a/doc/manager-api.txt b/doc/manager-api.txt
index a68cb481..ff675b36 100644
--- a/doc/manager-api.txt
+++ b/doc/manager-api.txt
@@ -82,6 +82,11 @@ Methods dict GetProperties()
same as executing the Connect method from the
service interface.
+ This method call will only return in case of an
+ error or when the service is fully connected. So
+ setting a longer D-Bus timeout might be a really
+ good idea.
+
Possible Errors: [service].Error.InvalidArguments
void RegisterAgent(object path)
diff --git a/doc/service-api.txt b/doc/service-api.txt
index e9349fc0..ea725b50 100644
--- a/doc/service-api.txt
+++ b/doc/service-api.txt
@@ -40,6 +40,11 @@ Methods dict GetProperties()
automatically. If no cable is plugged in this method
will fail.
+ This method call will only return in case of an
+ error or when the service is fully connected. So
+ setting a longer D-Bus timeout might be a really
+ good idea.
+
Possible Errors: [service].Error.InvalidArguments
void Disconnect()