rippled
Public Member Functions | Public Attributes | List of all members
ripple::test::Consensus_test::Disruptor Struct Reference
Collaboration diagram for ripple::test::Consensus_test::Disruptor:
Collaboration graph
[legend]

Public Member Functions

 Disruptor (csf::PeerGroup &net, csf::PeerGroup &c, csf::PeerGroup &split, csf::SimDuration d)
 
template<class E >
void on (csf::PeerID, csf::SimTime, E const &)
 
void on (csf::PeerID who, csf::SimTime, csf::FullyValidateLedger const &e)
 
void on (csf::PeerID who, csf::SimTime, csf::AcceptLedger const &e)
 

Public Attributes

csf::PeerGroupnetwork
 
csf::PeerGroupgroupCfast
 
csf::PeerGroupgroupCsplit
 
csf::SimDuration delay
 
bool reconnected = false
 

Detailed Description

Definition at line 777 of file Consensus_test.cpp.

Constructor & Destructor Documentation

◆ Disruptor()

ripple::test::Consensus_test::Disruptor::Disruptor ( csf::PeerGroup net,
csf::PeerGroup c,
csf::PeerGroup split,
csf::SimDuration  d 
)

Definition at line 785 of file Consensus_test.cpp.

Member Function Documentation

◆ on() [1/3]

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

Definition at line 796 of file Consensus_test.cpp.

◆ on() [2/3]

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

Definition at line 801 of file Consensus_test.cpp.

◆ on() [3/3]

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

Definition at line 816 of file Consensus_test.cpp.

Member Data Documentation

◆ network

csf::PeerGroup& ripple::test::Consensus_test::Disruptor::network

Definition at line 779 of file Consensus_test.cpp.

◆ groupCfast

csf::PeerGroup& ripple::test::Consensus_test::Disruptor::groupCfast

Definition at line 780 of file Consensus_test.cpp.

◆ groupCsplit

csf::PeerGroup& ripple::test::Consensus_test::Disruptor::groupCsplit

Definition at line 781 of file Consensus_test.cpp.

◆ delay

csf::SimDuration ripple::test::Consensus_test::Disruptor::delay

Definition at line 782 of file Consensus_test.cpp.

◆ reconnected

bool ripple::test::Consensus_test::Disruptor::reconnected = false

Definition at line 783 of file Consensus_test.cpp.