|
rippled
|
Metadata for a Fixed slot. More...
#include <Fixed.h>

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. | |
| void | failure (clock_type::time_point const &now) |
| Updates metadata to reflect a failed connection. | |
| void | success (clock_type::time_point const &now) |
| Updates metadata to reflect a successful connection. | |
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 |