Public Member Functions | Public Attributes | Private Member Functions | Static Private Member Functions | Private Attributes
pinger Class Reference

List of all members.

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_

Detailed Description

Definition at line 24 of file ping.cpp.


Constructor & Destructor Documentation

pinger::pinger ( boost::asio::io_service &  io_service,
const char *  destination 
) [inline]

Definition at line 27 of file ping.cpp.


Member Function Documentation

static unsigned short pinger::get_identifier ( ) [inline, static, private]

Definition at line 129 of file ping.cpp.

void pinger::handle_receive ( std::size_t  length) [inline, private]

Definition at line 91 of file ping.cpp.

void pinger::handle_timeout ( ) [inline, private]

Definition at line 68 of file ping.cpp.

void pinger::start_receive ( ) [inline, private]

Definition at line 81 of file ping.cpp.

void pinger::start_send ( ) [inline, private]

Definition at line 41 of file ping.cpp.


Member Data Documentation

double pinger::delay

Definition at line 38 of file ping.cpp.

icmp::endpoint pinger::destination_ [private]

Definition at line 139 of file ping.cpp.

std::size_t pinger::num_replies_ [private]

Definition at line 145 of file ping.cpp.

boost::asio::streambuf pinger::reply_buffer_ [private]

Definition at line 144 of file ping.cpp.

icmp::resolver pinger::resolver_ [private]

Definition at line 138 of file ping.cpp.

unsigned short pinger::sequence_number_ [private]

Definition at line 142 of file ping.cpp.

icmp::socket pinger::socket_ [private]

Definition at line 140 of file ping.cpp.

posix_time::ptime pinger::time_sent_ [private]

Definition at line 143 of file ping.cpp.

deadline_timer pinger::timer_ [private]

Definition at line 141 of file ping.cpp.


The documentation for this class was generated from the following file:


rosping
Author(s): Kei Okada
autogenerated on Mon Oct 6 2014 11:00:33