5 Interface net.connman.Counter
6 Object path freely definable
10 This method gets called when the service daemon
11 unregisters the counter. A counter can use it to do
12 cleanup tasks. There is no need to unregister the
13 counter, because when this method gets called it has
14 already been unregistered.
16 void Usage(object service, dict home, dict roaming)
18 This signal indicates a change in the counter values
19 for the service object. The counter is reset by calling
20 the service ResetCounters method.
22 When registering a new counter this method will be
23 called once with all details for "home" and "roaming"
24 counters filled in. Every further method call will
25 only include the changed values.
27 When "home" counter is active, then "roaming" counter
28 will contain an empty dictionary and vise-versa.
30 The dictionary argument contains the following entries:
34 Total number of packets received.
38 Total number of packets sent.
42 Total number of bytes received.
46 Total number of bytes sent.
50 Total number of erronous packets
55 Total number of erronous packets
60 Total number of dropped packets
65 Total number of dropped packets
70 Total number of seconds online.