xrpld
Loading...
Searching...
No Matches
xrpl::test::TestPeerSetBuilder Class Reference

Build the TestPeerSet. More...

Inheritance diagram for xrpl::test::TestPeerSetBuilder:
Collaboration diagram for xrpl::test::TestPeerSetBuilder:

Public Member Functions

 TestPeerSetBuilder (LedgerReplayMsgHandler &me, LedgerReplayMsgHandler &other, PeerSetBehavior bhvr, PeerFeature peerFeature)
std::unique_ptr< PeerSetbuild () override

Private Attributes

LedgerReplayMsgHandlerlocal_
LedgerReplayMsgHandlerremote_
PeerSetBehavior behavior_
bool enableLedgerReplay_

Detailed Description

Build the TestPeerSet.

Definition at line 461 of file LedgerReplay_test.cpp.

Constructor & Destructor Documentation

◆ TestPeerSetBuilder()

xrpl::test::TestPeerSetBuilder::TestPeerSetBuilder ( LedgerReplayMsgHandler & me,
LedgerReplayMsgHandler & other,
PeerSetBehavior bhvr,
PeerFeature peerFeature )

Definition at line 464 of file LedgerReplay_test.cpp.

Member Function Documentation

◆ build()

std::unique_ptr< PeerSet > xrpl::test::TestPeerSetBuilder::build ( )
overridevirtual

Implements xrpl::PeerSetBuilder.

Definition at line 477 of file LedgerReplay_test.cpp.

Member Data Documentation

◆ local_

LedgerReplayMsgHandler& xrpl::test::TestPeerSetBuilder::local_
private

Definition at line 483 of file LedgerReplay_test.cpp.

◆ remote_

LedgerReplayMsgHandler& xrpl::test::TestPeerSetBuilder::remote_
private

Definition at line 484 of file LedgerReplay_test.cpp.

◆ behavior_

PeerSetBehavior xrpl::test::TestPeerSetBuilder::behavior_
private

Definition at line 485 of file LedgerReplay_test.cpp.

◆ enableLedgerReplay_

bool xrpl::test::TestPeerSetBuilder::enableLedgerReplay_
private

Definition at line 486 of file LedgerReplay_test.cpp.