rippled
Classes | Public Types | Public Member Functions | Private Attributes | List of all members
ripple::test::csf::Peer::ValAdaptor Class Reference

Generic Validations adaptor that simply ignores recently stale validations. More...

Collaboration diagram for ripple::test::csf::Peer::ValAdaptor:
Collaboration graph
[legend]

Classes

struct  Mutex
 

Public Types

using Validation = csf::Validation
 
using Ledger = csf::Ledger
 

Public Member Functions

 ValAdaptor (Peer &p)
 
NetClock::time_point now () const
 
std::optional< Ledgeracquire (Ledger::ID const &lId)
 

Private Attributes

Peerp_
 

Detailed Description

Generic Validations adaptor that simply ignores recently stale validations.

Definition at line 116 of file test/csf/Peer.h.

Member Typedef Documentation

◆ Validation

Definition at line 134 of file test/csf/Peer.h.

◆ Ledger

Definition at line 135 of file test/csf/Peer.h.

Constructor & Destructor Documentation

◆ ValAdaptor()

ripple::test::csf::Peer::ValAdaptor::ValAdaptor ( Peer p)

Definition at line 137 of file test/csf/Peer.h.

Member Function Documentation

◆ now()

NetClock::time_point ripple::test::csf::Peer::ValAdaptor::now ( ) const

Definition at line 142 of file test/csf/Peer.h.

◆ acquire()

std::optional<Ledger> ripple::test::csf::Peer::ValAdaptor::acquire ( Ledger::ID const &  lId)

Definition at line 148 of file test/csf/Peer.h.

Member Data Documentation

◆ p_

Peer& ripple::test::csf::Peer::ValAdaptor::p_
private

Definition at line 118 of file test/csf/Peer.h.