[maemo-developers] Statistics about recently disconnected network connections
From: Neal H. Walfield neal at walfield.orgDate: Thu Jun 17 13:26:27 EEST 2010
- Previous message: Statistics about recently disconnected network connections
- Next message: How many times each application is downloaded from extras-devel
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At Wed, 16 Jun 2010 19:33:32 +0300, Jukka Rissanen wrote: > > On 16 June 2010 16:58, Neal H. Walfield <neal at walfield.org> wrote: > > Hi, > > > > Currently, I figure out when a network connection is disconnecting by > > listening for ICD_DBUS_API_STATE_SIG signals and checking if the > > network connection status is ICD_STATE_DISCONNECTING. When this > > happens, I send an ICD_DBUS_API_STATISTICS_REQ to ICD2 specifying the > > disconnecting network connection. I get a reply that indicates that I > > should see an ICD_DBUS_API_STATISTICS_SIG signal (one argument, value > > 1). I don't see any statistics, however. > > Reason is that when DISCONNECTING signal is sent, there is very little > time to do anything before the connection is disconnected. So I > suspect that the connection was disconnected before the signal was > sent. Except that, as I said, the reply to my ICD_DBUS_API_STATISTICS_REQ indicates that one ICD_DBUS_API_STATISTICS_SIG signal was sent. If, when ICD2 gets my request and it sends no signals, then it should reply with a value of 0. Thanks, Neal
- Previous message: Statistics about recently disconnected network connections
- Next message: How many times each application is downloaded from extras-devel
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]