|
rippled
|
Receives handouts for redirecting a connection. More...
#include <Handouts.h>

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 77 of file Handouts.h.
|
explicit |
Definition at line 117 of file Handouts.h.
| bool xrpl::PeerFinder::RedirectHandouts::try_insert | ( | Endpoint const & | ep | ) |
Definition at line 124 of file Handouts.h.
| bool xrpl::PeerFinder::RedirectHandouts::full | ( | ) | const |
Definition at line 88 of file Handouts.h.
| SlotImp::ptr const & xrpl::PeerFinder::RedirectHandouts::slot | ( | ) | const |
Definition at line 94 of file Handouts.h.
| std::vector< Endpoint > & xrpl::PeerFinder::RedirectHandouts::list | ( | ) |
Definition at line 100 of file Handouts.h.
| std::vector< Endpoint > const & xrpl::PeerFinder::RedirectHandouts::list | ( | ) | const |
Definition at line 106 of file Handouts.h.
|
private |
Definition at line 112 of file Handouts.h.
|
private |
Definition at line 113 of file Handouts.h.