From 205546a2cfb0e5a2662b33288041952e351cab4c Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Mon, 12 Jul 2010 22:17:38 -0300 Subject: [PATCH] Update counter API to differentiate between home and roaming counters --- doc/counter-api.txt | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/doc/counter-api.txt b/doc/counter-api.txt index 28ec662..5f28651 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 -- 2.7.4