summaryrefslogtreecommitdiff
path: root/doc/counter-api.txt
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-07-12 22:17:38 -0300
committerMarcel Holtmann <marcel@holtmann.org>2010-07-12 22:17:38 -0300
commit205546a2cfb0e5a2662b33288041952e351cab4c (patch)
tree122bf885e876b376d2ef00fc213c02b609624af1 /doc/counter-api.txt
parent79f8ae7b80b91c24679c51bb0a4b4dfe1c1452b0 (diff)
downloadconnman-205546a2cfb0e5a2662b33288041952e351cab4c.tar.gz
connman-205546a2cfb0e5a2662b33288041952e351cab4c.tar.bz2
connman-205546a2cfb0e5a2662b33288041952e351cab4c.zip
Update counter API to differentiate between home and roaming counters
Diffstat (limited to 'doc/counter-api.txt')
-rw-r--r--doc/counter-api.txt12
1 files changed, 10 insertions, 2 deletions
diff --git a/doc/counter-api.txt b/doc/counter-api.txt
index 28ec6628..5f286512 100644
--- a/doc/counter-api.txt
+++ b/doc/counter-api.txt
@@ -13,13 +13,21 @@ Methods void Release()
counter, because when this method gets called it has
already been unregistered.
- void Usage(object service, dict)
+ void Usage(object service, dict home, dict roaming)
This signal indicates a change in the counter values
for the service object. The counter is reset by calling
the service ResetCounters method.
- The dict argument contains following entries:
+ When registering a new counter this method will be
+ called once with all details for "home" and "roaming"
+ counters filled in. Every further method call will
+ only include the changed values.
+
+ When "home" counter is active, then "roaming" counter
+ will contain an empty dictionary and vise-versa.
+
+ The dictionary argument contains following entries:
RX.Packets