) :
IoService( io_serv ),
LocalNetworkInterfaceName( ping_interface ),
- Timer( io_serv ),
+ NextPingTimer( io_serv ),
TimeSentLastPing( microsec_clock::universal_time() ),
PingIntervalInSec( ping_interval_in_sec ),
IpList( ping_address ),
{
BOOST_ASSERT( 0 < PingIntervalInSec );
- (void) Timer.expires_from_now( seconds( PingIntervalInSec ) );
- Timer.async_wait( bind( &PingScheduler::handle_next_ping, this ) );
+ (void) NextPingTimer.expires_from_now( seconds( PingIntervalInSec ) );
+ NextPingTimer.async_wait( bind( &PingScheduler::handle_next_ping, this ) );
}
void PingScheduler::handle_next_ping()
private:
boost::asio::io_service &IoService;
std::string LocalNetworkInterfaceName;
- boost::asio::deadline_timer Timer;
+ boost::asio::deadline_timer NextPingTimer;
boost::posix_time::ptime TimeSentLastPing;
PingInterval<long> PingIntervalInSec;
DnsResolver IpList;