summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-12-06 03:43:48 +0100
committerMarcel Holtmann <marcel@holtmann.org>2008-12-06 03:43:48 +0100
commit00052435b7d3ea4139684c7f3b39911fdff5ac91 (patch)
tree0aa3c7c9db482c75f44f7c86dc9e8a0c932a4531
parent0e79d2bd2c57ae9731488110af9e2960549e9aa7 (diff)
downloadconnman-00052435b7d3ea4139684c7f3b39911fdff5ac91.tar.gz
connman-00052435b7d3ea4139684c7f3b39911fdff5ac91.tar.bz2
connman-00052435b7d3ea4139684c7f3b39911fdff5ac91.zip
Update Agent interface description
-rw-r--r--doc/agent-api.txt21
1 files changed, 9 insertions, 12 deletions
diff --git a/doc/agent-api.txt b/doc/agent-api.txt
index ff7aa53b..f39c9664 100644
--- a/doc/agent-api.txt
+++ b/doc/agent-api.txt
@@ -1,17 +1,14 @@
Agent hierarchy
-***************
+===============
-Service name [unique name]
-Interface name org.moblin.connman.Agent
-Object path [random object]
+Service unique name
+Interface org.moblin.connman.Agent
+Object path freely definable
Methods void Release()
-
-Method: Release
-===============
-This method will be called when the core releases the agent. This normally
-happens when the core shuts down.
-
-To get notified when the core exits, an agent should also watch out for the
-NameOwnerChanged from org.moblin.connman service.
+ This method gets called when the service daemon
+ unregisters the agent. An agent can use it to do
+ cleanup tasks. There is no need to unregister the
+ agent, because when this method gets called it has
+ already been unregistered.