Add agent documentation
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 30 Jan 2008 18:26:48 +0000 (19:26 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 30 Jan 2008 18:26:48 +0000 (19:26 +0100)
doc/Makefile.am
doc/agent-api.txt [new file with mode: 0644]

index 33cc0bd..04bffe2 100644 (file)
@@ -1,4 +1,4 @@
 
-EXTRA_DIST = manager-api.txt interface-api.txt
+EXTRA_DIST = manager-api.txt interface-api.txt agent-api.txt
 
 MAINTAINERCLEANFILES = Makefile.in
diff --git a/doc/agent-api.txt b/doc/agent-api.txt
new file mode 100644 (file)
index 0000000..6a805e8
--- /dev/null
@@ -0,0 +1,18 @@
+Agent hierarchy
+***************
+
+Service name   [unique name]
+Interface name org.freedesktop.connman.Agent
+Object path    [random object]
+
+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.freedesktop.connman service.
+