rippled
Public Member Functions | Private Attributes | List of all members
ripple::PeerFinder::SlotHandouts Class Reference

Receives endpoints for a slot during periodic handouts. More...

Collaboration diagram for ripple::PeerFinder::SlotHandouts:
Collaboration graph
[legend]

Public Member Functions

template<class = void>
 SlotHandouts (SlotImp::ptr const &slot)
 
template<class = void>
bool try_insert (Endpoint const &ep)
 
bool full () const
 
void insert (Endpoint const &ep)
 
SlotImp::ptr const & slot () const
 
std::vector< Endpoint > const & list () const
 

Private Attributes

SlotImp::ptr slot_
 
std::vector< Endpointlist_
 

Detailed Description

Receives endpoints for a slot during periodic handouts.

Definition at line 186 of file Handouts.h.

Constructor & Destructor Documentation

◆ SlotHandouts()

template<class >
ripple::PeerFinder::SlotHandouts::SlotHandouts ( SlotImp::ptr const &  slot)
explicit

Definition at line 226 of file Handouts.h.

Member Function Documentation

◆ try_insert()

template<class >
bool ripple::PeerFinder::SlotHandouts::try_insert ( Endpoint const &  ep)

Definition at line 233 of file Handouts.h.

◆ full()

bool ripple::PeerFinder::SlotHandouts::full ( ) const

Definition at line 197 of file Handouts.h.

◆ insert()

void ripple::PeerFinder::SlotHandouts::insert ( Endpoint const &  ep)

Definition at line 203 of file Handouts.h.

◆ slot()

SlotImp::ptr const& ripple::PeerFinder::SlotHandouts::slot ( ) const

Definition at line 209 of file Handouts.h.

◆ list()

std::vector<Endpoint> const& ripple::PeerFinder::SlotHandouts::list ( ) const

Definition at line 215 of file Handouts.h.

Member Data Documentation

◆ slot_

SlotImp::ptr ripple::PeerFinder::SlotHandouts::slot_
private

Definition at line 221 of file Handouts.h.

◆ list_

std::vector<Endpoint> ripple::PeerFinder::SlotHandouts::list_
private

Definition at line 222 of file Handouts.h.