Changed PingStatusNotifier interface, it is now an object shared among N hosts
authorGuilherme Maciel Ferreira <guilherme.maciel.ferreira@intra2net.com>
Tue, 22 Mar 2011 09:31:58 +0000 (10:31 +0100)
committerGuilherme Maciel Ferreira <guilherme.maciel.ferreira@intra2net.com>
Tue, 22 Mar 2011 09:32:48 +0000 (10:32 +0100)
commitc1fff16a92499e4e786da880af4fcaac717d706b
tree57b20e3d83715bcaa16b65c4e8efe044041f20f1
parentd52d036ac891029fa5614a14d0d66a666e12efd5
Changed PingStatusNotifier interface, it is now an object shared among N hosts
- this shared property allows to know how many hosts are down, once we can keep track of all hosts
- only one PingStatusNotifier instance for all PingAnalyzers objects, they pass the host to identify themselves within the notifier object
src/main.cpp
src/ping/pinganalyzer.cpp
src/ping/pinganalyzer.h
src/ping/pingscheduler.cpp
src/ping/pingscheduler.h
src/ping/pingstatusnotifier.cpp
src/ping/pingstatusnotifier.h