summaryrefslogtreecommitdiffstats
path: root/doc/connman-api.txt
diff options
context:
space:
mode:
authorJeevaka Badrappan <jeevaka.badrappan@elektrobit.com>2011-02-11 03:34:31 -0800
committerDenis Kenzior <denkenz@gmail.com>2011-02-11 10:29:43 -0600
commitd10a48e4e5447e91595ecfc577d25cb5c1f36915 (patch)
tree3e229f5e5fd6a866e9072ba3081be9ab4df1d2ce /doc/connman-api.txt
parent882ef1044444f39e4f15e3067f9e617de0dec39a (diff)
downloadofono-d10a48e4e5447e91595ecfc577d25cb5c1f36915.tar.bz2
doc: Update possible errors
Diffstat (limited to 'doc/connman-api.txt')
-rw-r--r--doc/connman-api.txt25
1 files changed, 19 insertions, 6 deletions
diff --git a/doc/connman-api.txt b/doc/connman-api.txt
index 22c59dc0..ece5bd3b 100644
--- a/doc/connman-api.txt
+++ b/doc/connman-api.txt
@@ -10,20 +10,23 @@ Methods dict GetProperties()
Returns all global system properties. See the
properties section for available properties.
- Possible Errors: [service].Error.InvalidArguments
-
void SetProperty(string property, variant value)
Sets the property to a desired value
- Possible Errors: [service].Error.InvalidArguments
- [service].Error.InvalidFormat
+ Possible Errors: [service].Error.InProgress
+ [service].Error.NotImplemented
+ [service].Error.InvalidArguments
[service].Error.Failed
void DeactivateAll()
Deactivates all active contexts.
+ Possible Errors: [service].Error.InProgress
+ [service].Error.InvalidArguments
+ [service].Error.Failed
+
array{object,dict} GetContexts()
Get array of context objects and properties.
@@ -41,12 +44,22 @@ Methods dict GetProperties()
Type documentation of ConnectionContext interface.
Returns the object path of the created context.
+ Possible Errors: [service].Error.InvalidArguments
+ [service].Error.InvalidFormat
+ [service].Error.Failed
+
void RemoveContext(object context)
Removes a primary context. All secondary contexts, if
any, associated with the primary context are also
removed.
+ Possible Errors: [service].Error.InProgress
+ [service].Error.InvalidArguments
+ [service].Error.InvalidFormat
+ [service].Error.NotFound
+ [service].Error.Failed
+
Signals PropertyChanged(string property, variant value)
This signal indicates a changed value of the given
@@ -130,8 +143,6 @@ Object path [variable]
Methods dict GetProperties()
Returns all properties for the context object.
- Possible Errors: [service].Error.InvalidArguments
-
void SetProperty(string property, variant value)
Sets the property to a desired value
@@ -139,8 +150,10 @@ Methods dict GetProperties()
Possible Errors: [service].Error.InvalidArguments
[service].Error.InvalidFormat
[service].Error.Failed
+ [service].Error.InProgress
[service].Error.NotAttached
[service].Error.AttachInProgress
+ [service].Error.NotImplemented
Signals PropertyChanged(string property, variant value)