|
xrpld
|
Receives handouts for making automatic connections. More...
#include <Handouts.h>

Public Types | |
| using | Squelches = beast::aged_set<beast::ip::Address> |
| using | list_type = std::vector<beast::ip::Endpoint> |
Public Member Functions | |
| template<class = void> | |
| ConnectHandouts (std::size_t needed, Squelches &squelches) | |
| template<class = void> | |
| bool | tryInsert (beast::ip::Endpoint const &endpoint) |
| bool | empty () const |
| bool | full () const |
| bool | tryInsert (Endpoint const &endpoint) |
| list_type & | list () |
| list_type const & | list () const |
Private Attributes | |
| std::size_t | needed_ |
| Squelches & | squelches_ |
| list_type | list_ |
Receives handouts for making automatic connections.
Definition at line 257 of file Handouts.h.
Definition at line 262 of file Handouts.h.
Definition at line 264 of file Handouts.h.
| xrpl::peer_finder::ConnectHandouts::ConnectHandouts | ( | std::size_t | needed, |
| Squelches & | squelches ) |
Definition at line 311 of file Handouts.h.
| bool xrpl::peer_finder::ConnectHandouts::tryInsert | ( | beast::ip::Endpoint const & | endpoint | ) |
Definition at line 319 of file Handouts.h.
|
nodiscard |
Definition at line 280 of file Handouts.h.
|
nodiscard |
Definition at line 286 of file Handouts.h.
| bool xrpl::peer_finder::ConnectHandouts::tryInsert | ( | Endpoint const & | endpoint | ) |
Definition at line 292 of file Handouts.h.
| list_type & xrpl::peer_finder::ConnectHandouts::list | ( | ) |
Definition at line 298 of file Handouts.h.
|
nodiscard |
Definition at line 304 of file Handouts.h.
|
private |
Definition at line 267 of file Handouts.h.
|
private |
Definition at line 268 of file Handouts.h.
|
private |
Definition at line 269 of file Handouts.h.