Update service statistics
[framework/connectivity/connman.git] / doc / counter-api.txt
1 Counter hierarchy
2 =================
3
4 Service         unique name
5 Interface       org.moblin.connman.Counter
6 Object path     freely definable
7
8 Methods         void Release()
9
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.
15
16                 Usage(object service, dict)
17
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.
21
22                         The dict argument contains following entries:
23
24                                 TX.Bytes
25
26                                         Total number of bytes sent.
27
28                                 RX.Bytes
29
30                                         Total number of bytes received.
31
32                                 Time
33                                         Total number of seconds online.