Public Member Functions | |
pinger (boost::asio::io_service &io_service, const char *destination) | |
Public Attributes | |
double | delay |
Private Member Functions | |
void | handle_receive (std::size_t length) |
void | handle_timeout () |
void | start_receive () |
void | start_send () |
Static Private Member Functions | |
static unsigned short | get_identifier () |
Private Attributes | |
icmp::endpoint | destination_ |
std::size_t | num_replies_ |
boost::asio::streambuf | reply_buffer_ |
icmp::resolver | resolver_ |
unsigned short | sequence_number_ |
icmp::socket | socket_ |
posix_time::ptime | time_sent_ |
deadline_timer | timer_ |
pinger::pinger | ( | boost::asio::io_service & | io_service, |
const char * | destination | ||
) | [inline] |
static unsigned short pinger::get_identifier | ( | ) | [inline, static, private] |
void pinger::handle_receive | ( | std::size_t | length | ) | [inline, private] |
void pinger::handle_timeout | ( | ) | [inline, private] |
void pinger::start_receive | ( | ) | [inline, private] |
void pinger::start_send | ( | ) | [inline, private] |
double pinger::delay |
icmp::endpoint pinger::destination_ [private] |
std::size_t pinger::num_replies_ [private] |
boost::asio::streambuf pinger::reply_buffer_ [private] |
icmp::resolver pinger::resolver_ [private] |
unsigned short pinger::sequence_number_ [private] |
icmp::socket pinger::socket_ [private] |
posix_time::ptime pinger::time_sent_ [private] |
deadline_timer pinger::timer_ [private] |