Replaced the times-to-ping parameter to simplify the code, now it pings just one...
authorGuilherme Maciel Ferreira <guilherme.maciel.ferreira@intra2net.com>
Mon, 14 Mar 2011 14:44:25 +0000 (15:44 +0100)
committerGuilherme Maciel Ferreira <guilherme.maciel.ferreira@intra2net.com>
Mon, 14 Mar 2011 14:44:25 +0000 (15:44 +0100)
commit83d871832b7fe7464b95635d02fa2e30abb0647e
treeafe7f6f9e886a506015d19de16066d2689f047e0
parent9c55ecd35c1cc4ebbcccd425300f75f9ed03aa05
Replaced the times-to-ping parameter to simplify the code, now it pings just one time and uses a status on/off approach to check if the ping was performed.
- also BoostPinger::create_echo_request() method is const and self sufficient, use parameter instead of changing the SequenceNumber member variable
src/ping/boostpinger.cpp
src/ping/boostpinger.h
src/ping/pinger.h
src/ping/pingscheduler.cpp