rippled
|
Tests remote listening sockets to make sure they are connectible. More...
Classes | |
struct | async_op |
struct | basic_async_op |
Public Member Functions | |
Checker (boost::asio::io_service &io_service) | |
~Checker () | |
Destroy the service. More... | |
void | stop () |
Stop the service. More... | |
void | wait () |
Block until all pending I/O completes. More... | |
template<class Handler > | |
void | async_connect (beast::IP::Endpoint const &endpoint, Handler &&handler) |
Performs an async connection test on the specified endpoint. More... | |
Private Types | |
using | error_code = boost::system::error_code |
using | list_type = typename boost::intrusive::make_list< basic_async_op, boost::intrusive::constant_time_size< true > >::type |
Private Member Functions | |
void | remove (basic_async_op &op) |
Private Attributes | |
std::mutex | mutex_ |
std::condition_variable | cond_ |
boost::asio::io_service & | io_service_ |
list_type | list_ |
bool | stop_ = false |
Tests remote listening sockets to make sure they are connectible.
|
private |
|
private |
|
explicit |
ripple::PeerFinder::Checker< Protocol >::~Checker |
void ripple::PeerFinder::Checker< Protocol >::stop |
void ripple::PeerFinder::Checker< Protocol >::wait |
void ripple::PeerFinder::Checker< Protocol >::async_connect | ( | beast::IP::Endpoint const & | endpoint, |
Handler && | handler | ||
) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |