rippled
|
Metadata for a Fixed slot. More...
Public Member Functions | |
Fixed (clock_type &clock) | |
Fixed (Fixed const &)=default | |
clock_type::time_point const & | when () const |
Returns the time after which we shoud allow a connection attempt. More... | |
void | failure (clock_type::time_point const &now) |
Updates metadata to reflect a failed connection. More... | |
void | success (clock_type::time_point const &now) |
Updates metadata to reflect a successful connection. More... | |
Private Attributes | |
clock_type::time_point | m_when |
std::size_t | m_failures |
|
explicit |
|
default |
clock_type::time_point const& ripple::PeerFinder::Fixed::when | ( | ) | const |
void ripple::PeerFinder::Fixed::failure | ( | clock_type::time_point const & | now | ) |
void ripple::PeerFinder::Fixed::success | ( | clock_type::time_point const & | now | ) |
|
private |
|
private |