From: Marcel Holtmann Date: Thu, 16 Jul 2009 23:45:04 +0000 (+0200) Subject: Mention to set D-Bus timeout for service connect methods X-Git-Tag: 0.24~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b3e608cff4acab45b133834b60f0dda072b5f7fe;p=platform%2Fupstream%2Fconnman.git Mention to set D-Bus timeout for service connect methods --- diff --git a/doc/manager-api.txt b/doc/manager-api.txt index a68cb48..ff675b3 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 e9349fc..ea725b5 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()