|
rippled
|
Tests remote listening sockets to make sure they are connectible. More...
#include <Checker.h>

Classes | |
| struct | async_op |
| struct | basic_async_op |
Public Member Functions | |
| Checker (boost::asio::io_context &io_context) | |
| ~Checker () | |
| Destroy the service. | |
| void | stop () |
| Stop the service. | |
| void | wait () |
| Block until all pending I/O completes. | |
| template<class Handler > | |
| void | async_connect (beast::IP::Endpoint const &endpoint, Handler &&handler) |
| Performs an async connection test on the specified endpoint. | |
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_context & | io_context_ |
| 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 |