summaryrefslogtreecommitdiff
path: root/doc/counter-api.txt
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-01-07 03:48:05 -0800
committerMarcel Holtmann <marcel@holtmann.org>2010-01-07 03:48:05 -0800
commit329c7954b9f166033fb8b7689b670eb76b9066f5 (patch)
tree12a52c7446848b26397bb55b2368eb2d9fd79263 /doc/counter-api.txt
parent0f59fce246881c44f8e11665843451beda499473 (diff)
downloadconnman-329c7954b9f166033fb8b7689b670eb76b9066f5.tar.gz
connman-329c7954b9f166033fb8b7689b670eb76b9066f5.tar.bz2
connman-329c7954b9f166033fb8b7689b670eb76b9066f5.zip
Add counter API document
Diffstat (limited to 'doc/counter-api.txt')
-rw-r--r--doc/counter-api.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/counter-api.txt b/doc/counter-api.txt
new file mode 100644
index 00000000..593e932d
--- /dev/null
+++ b/doc/counter-api.txt
@@ -0,0 +1,14 @@
+Counter hierarchy
+=================
+
+Service unique name
+Interface org.moblin.connman.Counter
+Object path freely definable
+
+Methods void Release()
+
+ This method gets called when the service daemon
+ unregisters the counter. A counter can use it to do
+ cleanup tasks. There is no need to unregister the
+ counter, because when this method gets called it has
+ already been unregistered.