Mention to set D-Bus timeout for service connect methods
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 16 Jul 2009 23:45:04 +0000 (01:45 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 16 Jul 2009 23:45:04 +0000 (01:45 +0200)
doc/manager-api.txt
doc/service-api.txt

index a68cb48..ff675b3 100644 (file)
@@ -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)
index e9349fc..ea725b5 100644 (file)
@@ -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()