rippled
|
Receives handouts for redirecting a connection. More...
Public Member Functions | |
template<class = void> | |
RedirectHandouts (SlotImp::ptr const &slot) | |
template<class = void> | |
bool | try_insert (Endpoint const &ep) |
bool | full () const |
SlotImp::ptr const & | slot () const |
std::vector< Endpoint > & | list () |
std::vector< Endpoint > const & | list () const |
Private Attributes | |
SlotImp::ptr | slot_ |
std::vector< Endpoint > | list_ |
Receives handouts for redirecting a connection.
An incoming connection request is redirected when we are full on slots.
Definition at line 102 of file Handouts.h.
|
explicit |
Definition at line 142 of file Handouts.h.
bool ripple::PeerFinder::RedirectHandouts::try_insert | ( | Endpoint const & | ep | ) |
Definition at line 149 of file Handouts.h.
bool ripple::PeerFinder::RedirectHandouts::full | ( | ) | const |
Definition at line 113 of file Handouts.h.
SlotImp::ptr const& ripple::PeerFinder::RedirectHandouts::slot | ( | ) | const |
Definition at line 119 of file Handouts.h.
std::vector<Endpoint>& ripple::PeerFinder::RedirectHandouts::list | ( | ) |
Definition at line 125 of file Handouts.h.
std::vector<Endpoint> const& ripple::PeerFinder::RedirectHandouts::list | ( | ) | const |
Definition at line 131 of file Handouts.h.
|
private |
Definition at line 137 of file Handouts.h.
|
private |
Definition at line 138 of file Handouts.h.