20#ifndef RIPPLE_TEST_CSF_COLLECTOREF_H_INCLUDED
21#define RIPPLE_TEST_CSF_COLLECTOREF_H_INCLUDED
23#include <test/csf/SimTime.h>
24#include <test/csf/events.h>
165 t_.on(node, when, e);
171 t_.on(node, when, e);
177 t_.on(node, when, e);
183 t_.on(node, when, e);
189 t_.on(node, when, e);
195 t_.on(node, when, e);
201 t_.on(node, when, e);
207 t_.on(node, when, e);
213 t_.on(node, when, e);
219 t_.on(node, when, e);
225 t_.on(node, when, e);
231 t_.on(node, when, e);
237 t_.on(node, when, e);
243 t_.on(node, when, e);
249 t_.on(node, when, e);
255 t_.on(node, when, e);
261 t_.on(node, when, e);
267 t_.on(node, when, e);
273 t_.on(node, when, e);
279 t_.on(node, when, e);
285 t_.on(node, when, e);
310 impl_->on(node, when, e);
329 template <
class Collector>
Any & operator=(Any const &)=delete
virtual void on(PeerID node, tp when, Share< TxSet > const &e) override
virtual void on(PeerID node, tp when, Relay< Validation > const &e) override
virtual void on(PeerID node, tp when, Relay< TxSet > const &e) override
virtual void on(PeerID node, tp when, Receive< Ledger > const &e) override
virtual void on(PeerID node, tp when, FullyValidateLedger const &e) override
virtual void on(PeerID node, tp when, Share< Proposal > const &e) override
virtual void on(PeerID node, tp when, StartRound const &e) override
virtual void on(PeerID node, tp when, Relay< Proposal > const &e) override
virtual void on(PeerID node, tp when, SubmitTx const &e) override
virtual void on(PeerID node, tp when, Relay< Ledger > const &e) override
virtual void on(PeerID node, tp when, Receive< Validation > const &e) override
virtual void on(PeerID node, tp when, WrongPrevLedger const &e) override
Any & operator=(Any &&)=default
virtual void on(PeerID node, tp when, AcceptLedger const &e) override
virtual void on(PeerID node, tp when, Receive< Proposal > const &e) override
virtual void on(PeerID node, tp when, Share< Validation > const &e) override
virtual void on(PeerID node, tp when, Receive< TxSet > const &e) override
void on(PeerID node, tp when, Receive< Tx > const &e) override
virtual void on(PeerID node, tp when, Share< Tx > const &e) override
virtual void on(PeerID node, tp when, Share< Ledger > const &e) override
void on(PeerID node, tp when, Relay< Tx > const &e) override
virtual void on(PeerID node, tp when, CloseLedger const &e) override
Holds a type-erased reference to an arbitray collector.
std::unique_ptr< ICollector > impl_
CollectorRef & operator=(CollectorRef &&)=default
CollectorRef(CollectorRef const &c)=delete
CollectorRef & operator=(CollectorRef &c)=delete
void on(PeerID node, tp when, E const &e)
CollectorRef(CollectorRef &&)=default
A container of CollectorRefs.
std::vector< CollectorRef > collectors_
void add(Collector &collector)
void on(PeerID node, SimTime when, E const &e)
typename SimClock::time_point SimTime
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Peer accepted consensus results.
Peer closed the open ledger.
virtual void on(PeerID node, tp when, CloseLedger const &)=0
virtual void on(PeerID node, tp when, Relay< Tx > const &)=0
virtual void on(PeerID node, tp when, Receive< Validation > const &)=0
virtual void on(PeerID node, tp when, Share< Validation > const &)=0
virtual void on(PeerID node, tp when, AcceptLedger const &)=0
virtual void on(PeerID node, tp when, Receive< Proposal > const &)=0
virtual void on(PeerID node, tp when, Relay< Validation > const &)=0
virtual void on(PeerID node, tp when, Relay< Proposal > const &)=0
virtual void on(PeerID node, tp when, Share< Proposal > const &)=0
virtual void on(PeerID node, tp when, Relay< Ledger > const &)=0
virtual void on(PeerID node, tp when, Share< TxSet > const &)=0
virtual void on(PeerID node, tp when, StartRound const &)=0
virtual void on(PeerID node, tp when, FullyValidateLedger const &)=0
virtual void on(PeerID node, tp when, Receive< Ledger > const &)=0
virtual ~ICollector()=default
virtual void on(PeerID node, tp when, Relay< TxSet > const &)=0
virtual void on(PeerID node, tp when, Share< Tx > const &)=0
virtual void on(PeerID node, tp when, Receive< Tx > const &)=0
virtual void on(PeerID node, tp when, WrongPrevLedger const &)=0
virtual void on(PeerID node, tp when, Share< Ledger > const &)=0
virtual void on(PeerID node, tp when, SubmitTx const &)=0
virtual void on(PeerID node, tp when, Receive< TxSet > const &)=0
Peer fully validated a new ledger.
A value received from another peer as part of flooding.
A value relayed to another peer as part of flooding.
A value to be flooded to all other peers starting from this peer.
Peer starts a new consensus round.
A transaction submitted to a peer.
Peer detected a wrong prior ledger during consensus.