|
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 246 of file Handouts.h.
Definition at line 251 of file Handouts.h.
Definition at line 253 of file Handouts.h.
| xrpl::PeerFinder::ConnectHandouts::ConnectHandouts | ( | std::size_t | needed, |
| Squelches & | squelches ) |
Definition at line 300 of file Handouts.h.
| bool xrpl::PeerFinder::ConnectHandouts::tryInsert | ( | beast::IP::Endpoint const & | endpoint | ) |
Definition at line 308 of file Handouts.h.
|
nodiscard |
Definition at line 269 of file Handouts.h.
|
nodiscard |
Definition at line 275 of file Handouts.h.
| bool xrpl::PeerFinder::ConnectHandouts::tryInsert | ( | Endpoint const & | endpoint | ) |
Definition at line 281 of file Handouts.h.
| list_type & xrpl::PeerFinder::ConnectHandouts::list | ( | ) |
Definition at line 287 of file Handouts.h.
|
nodiscard |
Definition at line 293 of file Handouts.h.
|
private |
Definition at line 256 of file Handouts.h.
|
private |
Definition at line 257 of file Handouts.h.
|
private |
Definition at line 258 of file Handouts.h.