rippled
Public Member Functions | Public Attributes | List of all members
ripple::test::csf::StreamCollector Struct Reference

Write out stream of ledger activity. More...

Collaboration diagram for ripple::test::csf::StreamCollector:
Collaboration graph
[legend]

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 683 of file collectors.h.

Member Function Documentation

◆ on() [1/3]

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

Definition at line 690 of file collectors.h.

◆ on() [2/3]

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

Definition at line 695 of file collectors.h.

◆ on() [3/3]

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

Definition at line 703 of file collectors.h.

Member Data Documentation

◆ out

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

Definition at line 685 of file collectors.h.