rippled
|
Maintain an instance of a Collector per peer. More...
Public Member Functions | |
CollectorType & | operator[] (PeerID who) |
CollectorType const & | operator[] (PeerID who) const |
template<class E > | |
void | on (PeerID who, SimTime when, E const &e) |
Public Attributes | |
std::map< PeerID, CollectorType > | byNode |
Maintain an instance of a Collector per peer.
For each peer that emits events, this class maintains a corresponding instance of CollectorType, only forwarding events emitted by the peer to the related instance.
CollectorType should be default constructible.
Definition at line 110 of file collectors.h.
CollectorType& ripple::test::csf::CollectByNode< CollectorType >::operator[] | ( | PeerID | who | ) |
Definition at line 115 of file collectors.h.
CollectorType const& ripple::test::csf::CollectByNode< CollectorType >::operator[] | ( | PeerID | who | ) | const |
Definition at line 121 of file collectors.h.
void ripple::test::csf::CollectByNode< CollectorType >::on | ( | PeerID | who, |
SimTime | when, | ||
E const & | e | ||
) |
Definition at line 127 of file collectors.h.
std::map<PeerID, CollectorType> ripple::test::csf::CollectByNode< CollectorType >::byNode |
Definition at line 112 of file collectors.h.