xrpld
Loading...
Searching...
No Matches
xrpl::test::csf::StreamCollector Struct Reference

Write out stream of ledger activity. More...

#include <collectors.h>

Collaboration diagram for xrpl::test::csf::StreamCollector:

Public Member Functions

template<class E>
void on (PeerID, SimTime, E const &e)
void on (PeerID who, SimTime when, AcceptLedger const &e)
void on (PeerID who, SimTime when, FullyValidateLedger const &e)

Public Attributes

std::ostreamout

Detailed Description

Write out stream of ledger activity.

Writes information about every accepted and fully-validated ledger to a provided std::ostream.

Definition at line 578 of file collectors.h.

Member Function Documentation

◆ on() [1/3]

template<class E>
void xrpl::test::csf::StreamCollector::on ( PeerID ,
SimTime ,
E const & e )

Definition at line 585 of file collectors.h.

◆ on() [2/3]

void xrpl::test::csf::StreamCollector::on ( PeerID who,
SimTime when,
AcceptLedger const & e )

Definition at line 590 of file collectors.h.

◆ on() [3/3]

void xrpl::test::csf::StreamCollector::on ( PeerID who,
SimTime when,
FullyValidateLedger const & e )

Definition at line 597 of file collectors.h.

Member Data Documentation

◆ out

std::ostream& xrpl::test::csf::StreamCollector::out

Definition at line 580 of file collectors.h.