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

Classes | |
| struct | BasicAsyncOp |
| struct | AsyncOp |
Public Member Functions | |
| Checker (boost::asio::io_context &ioContext) | |
| ~Checker () | |
| Destroy the service. | |
| void | stop () |
| Stop the service. | |
| void | wait () |
| Block until all pending I/O completes. | |
| template<class Handler> | |
| void | asyncConnect (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 |
Private Member Functions | |
| void | remove (BasicAsyncOp &op) |
Private Attributes | |
| std::mutex | mutex_ |
| std::condition_variable | cond_ |
| boost::asio::io_context & | ioContext_ |
| list_type | list_ |
| bool | stop_ = false |
Tests remote listening sockets to make sure they are connectable.
|
private |
|
private |
|
explicit |
| xrpl::PeerFinder::Checker< Protocol >::~Checker | ( | ) |
| void xrpl::PeerFinder::Checker< Protocol >::stop | ( | ) |
| void xrpl::PeerFinder::Checker< Protocol >::wait | ( | ) |
| void xrpl::PeerFinder::Checker< Protocol >::asyncConnect | ( | beast::IP::Endpoint const & | endpoint, |
| Handler && | handler ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |