Added the requirement "If XX servers don't reply, it has to notify another system...
authorGuilherme Maciel Ferreira <guilherme.maciel.ferreira@intra2net.com>
Wed, 23 Mar 2011 16:11:04 +0000 (17:11 +0100)
committerGuilherme Maciel Ferreira <guilherme.maciel.ferreira@intra2net.com>
Thu, 24 Mar 2011 09:05:59 +0000 (10:05 +0100)
commitb279ae0950da1f8eb1dd7375433ba2855541b65b
treed66e6d5f065d6f4e2b04237274e8d24974881081
parentd3692dd990bdfdb908c5c792e48739a0c001936a
Added the requirement "If XX servers don't reply, it has to notify another system (e.g. execute a script)"
- moved the class PingStatusNotifier from ping to notify directory.
- included a new class that encapsulate the process of system notification
src/CMakeLists.txt
src/main.cpp
src/notify/pingstatusnotifier.cpp [moved from src/ping/pingstatusnotifier.cpp with 69% similarity]
src/notify/pingstatusnotifier.h [moved from src/ping/pingstatusnotifier.h with 74% similarity]
src/notify/statusnotifiercommand.cpp [new file with mode: 0644]
src/notify/statusnotifiercommand.h [new file with mode: 0644]
src/ping/pinganalyzer.cpp
src/ping/pingscheduler.cpp