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 505 of file LedgerReplay_test.cpp.

Constructor & Destructor Documentation

◆ TestPeerSetBuilder()

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

Definition at line 508 of file LedgerReplay_test.cpp.

Member Function Documentation

◆ build()

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

Implements xrpl::PeerSetBuilder.

Definition at line 521 of file LedgerReplay_test.cpp.

Member Data Documentation

◆ local_

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

Definition at line 527 of file LedgerReplay_test.cpp.

◆ remote_

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

Definition at line 528 of file LedgerReplay_test.cpp.

◆ behavior_

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

Definition at line 529 of file LedgerReplay_test.cpp.

◆ enableLedgerReplay_

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

Definition at line 530 of file LedgerReplay_test.cpp.