commit | 1e3bc4967760686fd475f899951db4414d6c822b | [log] [tgz] |
---|---|---|
author | Paul Stewart <pstew@chromium.org> | Fri Sep 14 12:20:22 2012 -0700 |
committer | Gerrit <chrome-bot@google.com> | Tue Sep 18 08:12:40 2012 -0700 |
tree | 81481658dbdb605850b505198c3e50774334f559 | |
parent | 53b3f47eaa39448886d5b86de0bbee13cb584d83 [diff] |
shill: Service: Emit a signal when IPConfig changes Emit a property-changed signal whenever the Connection changes on a Service. This will allow listeners to detect changes to IP address or DNS bindings. No signal is emitted when the Connection is reset to NULL. The signal is emitted even if the IPConfig path does not change, so listeners need to listen explicitly for a PropertyChanged signal on the service, and not simply for the value of the property changing. BUG=chromium:134553 TEST=Manual: Do "dbus-monitor --system" and restart shill, observe: signal sender=:1.489 -> dest=(null destination) serial=35 path=/service/1; interface=org.chromium.flimflam.Service; member=PropertyChanged string "IPConfig" variant object path "/ipconfig/eth1_0_dhcp" Change-Id: I5f1ab49358c53ce20bceff84c1c26453a6f8aee6 Reviewed-on: https://gerrit.chromium.org/gerrit/33342 Commit-Ready: Paul Stewart <pstew@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org>