diff options
author | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2010-06-30 13:59:51 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-06-30 19:26:43 +0200 |
commit | 14236b2a2b6121963d1fc1e1eead753a380498f2 (patch) | |
tree | 95ab0fcacea598710770b11948fb843147b29d61 /doc/service-api.txt | |
parent | e4fb1ca873f840acd1e0a72a6f266843f65854ae (diff) | |
download | connman-14236b2a2b6121963d1fc1e1eead753a380498f2.tar.gz connman-14236b2a2b6121963d1fc1e1eead753a380498f2.tar.bz2 connman-14236b2a2b6121963d1fc1e1eead753a380498f2.zip |
Add service statistic data structure
The static values are maintained in the Service object and exposed
through simple accessors.
When a Service object enters the ready state it registers itself at
Counter.
If the Service object is leaving the ready state it will de-register
itself from Counter and consequently it will not be updated anymore.
The user can shorten the update interval when he registers a Counter
object with a shorter interval value.
The statistic is stored in the profile file.
Only the current value is stored, no history.
If there is not Counter object the stats wont be upated. This short
coming will be addressed by the 'data threshold netfilter module'
patches.
Diffstat (limited to 'doc/service-api.txt')
-rw-r--r-- | doc/service-api.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/service-api.txt b/doc/service-api.txt index 6d65f094..a3e3c10c 100644 --- a/doc/service-api.txt +++ b/doc/service-api.txt @@ -104,6 +104,12 @@ Methods dict GetProperties() Possible Errors: [service].Error.InvalidArguments + void ResetCounters() + + Reset the counter statistics. + + Possible Errors: None + Signals PropertyChanged(string name, variant value) This signal indicates a changed value of the given |