path: root/doc
diff options
authorMarcel Holtmann <>2008-12-06 03:43:48 +0100
committerMarcel Holtmann <>2008-12-06 03:43:48 +0100
commit00052435b7d3ea4139684c7f3b39911fdff5ac91 (patch)
tree0aa3c7c9db482c75f44f7c86dc9e8a0c932a4531 /doc
parent0e79d2bd2c57ae9731488110af9e2960549e9aa7 (diff)
Update Agent interface description
Diffstat (limited to 'doc')
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.