rippled
|
Receives handouts for making automatic connections. More...
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 | try_insert (beast::IP::Endpoint const &endpoint) |
bool | empty () const |
bool | full () const |
bool | try_insert (Endpoint const &endpoint) |
list_type & | list () |
list_type const & | list () const |
Private Attributes | |
std::size_t | m_needed |
Squelches & | m_squelches |
list_type | m_list |
Receives handouts for making automatic connections.
Definition at line 270 of file Handouts.h.
Definition at line 275 of file Handouts.h.
Definition at line 277 of file Handouts.h.
ripple::PeerFinder::ConnectHandouts::ConnectHandouts | ( | std::size_t | needed, |
Squelches & | squelches | ||
) |
Definition at line 324 of file Handouts.h.
bool ripple::PeerFinder::ConnectHandouts::try_insert | ( | beast::IP::Endpoint const & | endpoint | ) |
Definition at line 332 of file Handouts.h.
bool ripple::PeerFinder::ConnectHandouts::empty | ( | ) | const |
Definition at line 293 of file Handouts.h.
bool ripple::PeerFinder::ConnectHandouts::full | ( | ) | const |
Definition at line 299 of file Handouts.h.
bool ripple::PeerFinder::ConnectHandouts::try_insert | ( | Endpoint const & | endpoint | ) |
Definition at line 305 of file Handouts.h.
list_type& ripple::PeerFinder::ConnectHandouts::list | ( | ) |
Definition at line 311 of file Handouts.h.
list_type const& ripple::PeerFinder::ConnectHandouts::list | ( | ) | const |
Definition at line 317 of file Handouts.h.
|
private |
Definition at line 280 of file Handouts.h.
|
private |
Definition at line 281 of file Handouts.h.
|
private |
Definition at line 282 of file Handouts.h.