summaryrefslogtreecommitdiff
path: root/doc/vpn-manager-api.txt
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2012-11-12 14:07:17 +0200
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-11-23 12:58:50 +0200
commitd20247d3b3074b7c5937540ce5dbc8f020c79907 (patch)
tree861bab1ba84b89921bcdfeac75ced7fe2fb26faa /doc/vpn-manager-api.txt
parent99e49dd2add20aecafe79b24effb4b87353449f9 (diff)
downloadconnman-d20247d3b3074b7c5937540ce5dbc8f020c79907.tar.gz
connman-d20247d3b3074b7c5937540ce5dbc8f020c79907.tar.bz2
connman-d20247d3b3074b7c5937540ce5dbc8f020c79907.zip
doc: VPN daemon API descriptions
Diffstat (limited to 'doc/vpn-manager-api.txt')
-rw-r--r--doc/vpn-manager-api.txt50
1 files changed, 50 insertions, 0 deletions
diff --git a/doc/vpn-manager-api.txt b/doc/vpn-manager-api.txt
new file mode 100644
index 00000000..66c5beef
--- /dev/null
+++ b/doc/vpn-manager-api.txt
@@ -0,0 +1,50 @@
+vpn manager
+===========
+
+Service net.connman.vpn
+Interface net.connman.vpn.Manager
+Object path /
+
+Method object Create(dict settings) [experimental]
+
+ Create a new VPN connection and configuration using
+ the supplied settings.
+
+ void Remove(object vpn) [experimental]
+
+ Remove the previously created VPN configuration.
+
+ array{object,dict} GetConnections() [experimental]
+
+ Returns a list of tuples with VPN connection object
+ path and dictionary of their properties.
+
+ Possible Errors: [manager].Error.InvalidArguments
+
+ void RegisterAgent(object path) [experimental]
+
+ Register new agent for handling user requests.
+
+ Possible Errors: [manager].Error.InvalidArguments
+
+ void UnregisterAgent(object path) [experimental]
+
+ Unregister an existing agent.
+
+ Possible Errors: [manager].Error.InvalidArguments
+
+Signals ConnectionAdded(object path, dict properties) [experimental]
+
+ Signal that is sent when a new VPN connection
+ is added.
+
+ It contains the object path of the VPN connection
+ and also its properties.
+
+ ConnectionRemoved(object path) [experimental]
+
+ Signal that is sent when a VPN connection
+ has been removed.
+
+ The object path is no longer accessible after this
+ signal and only emitted for reference.