summaryrefslogtreecommitdiff
path: root/doc/counter-api.txt
diff options
context:
space:
mode:
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.