| 
    rippled
    
   | 
 
Manages the lifetime of inbound ledgers. More...
#include <InboundLedgers.h>

Public Types | |
| using | clock_type = beast::abstract_clock< std::chrono::steady_clock > | 
Public Member Functions | |
| virtual | ~InboundLedgers ()=default | 
| virtual std::shared_ptr< Ledger const > | acquire (uint256 const &hash, std::uint32_t seq, InboundLedger::Reason)=0 | 
| virtual void | acquireAsync (uint256 const &hash, std::uint32_t seq, InboundLedger::Reason reason)=0 | 
| virtual std::shared_ptr< InboundLedger > | find (LedgerHash const &hash)=0 | 
| virtual bool | gotLedgerData (LedgerHash const &ledgerHash, std::shared_ptr< Peer >, std::shared_ptr< protocol::TMLedgerData >)=0 | 
| virtual void | gotStaleData (std::shared_ptr< protocol::TMLedgerData > packet)=0 | 
| virtual void | logFailure (uint256 const &h, std::uint32_t seq)=0 | 
| virtual bool | isFailure (uint256 const &h)=0 | 
| virtual void | clearFailures ()=0 | 
| virtual Json::Value | getInfo ()=0 | 
| virtual std::size_t | fetchRate ()=0 | 
| Returns the rate of historical ledger fetches per minute.   | |
| virtual void | onLedgerFetched ()=0 | 
| Called when a complete ledger is obtained.   | |
| virtual void | gotFetchPack ()=0 | 
| virtual void | sweep ()=0 | 
| virtual void | stop ()=0 | 
| virtual std::size_t | cacheSize ()=0 | 
Manages the lifetime of inbound ledgers.
Definition at line 33 of file InboundLedgers.h.
Definition at line 36 of file InboundLedgers.h.
      
  | 
  virtualdefault | 
      
  | 
  pure virtual | 
Implemented in ripple::InboundLedgersImp, and ripple::test::MagicInboundLedgers.
      
  | 
  pure virtual | 
Implemented in ripple::test::MagicInboundLedgers, and ripple::InboundLedgersImp.
      
  | 
  pure virtual | 
Implemented in ripple::test::MagicInboundLedgers.
      
  | 
  pure virtual | 
Implemented in ripple::InboundLedgersImp, and ripple::test::MagicInboundLedgers.
      
  | 
  pure virtual | 
Implemented in ripple::test::MagicInboundLedgers, and ripple::InboundLedgersImp.
      
  | 
  pure virtual | 
Implemented in ripple::test::MagicInboundLedgers, and ripple::InboundLedgersImp.
      
  | 
  pure virtual | 
Implemented in ripple::test::MagicInboundLedgers, and ripple::InboundLedgersImp.
      
  | 
  pure virtual | 
Implemented in ripple::test::MagicInboundLedgers, and ripple::InboundLedgersImp.
      
  | 
  pure virtual | 
Implemented in ripple::test::MagicInboundLedgers, and ripple::InboundLedgersImp.
      
  | 
  pure virtual | 
Returns the rate of historical ledger fetches per minute.
Implemented in ripple::test::MagicInboundLedgers, and ripple::InboundLedgersImp.
      
  | 
  pure virtual | 
Called when a complete ledger is obtained.
Implemented in ripple::test::MagicInboundLedgers, and ripple::InboundLedgersImp.
      
  | 
  pure virtual | 
Implemented in ripple::test::MagicInboundLedgers, and ripple::InboundLedgersImp.
      
  | 
  pure virtual | 
Implemented in ripple::test::MagicInboundLedgers, and ripple::InboundLedgersImp.
      
  | 
  pure virtual | 
Implemented in ripple::test::MagicInboundLedgers, and ripple::InboundLedgersImp.
      
  | 
  pure virtual | 
Implemented in ripple::test::MagicInboundLedgers, and ripple::InboundLedgersImp.