rippled
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
ripple::test::TestPeerSetBuilder Class Reference

Build the TestPeerSet. More...

Inheritance diagram for ripple::test::TestPeerSetBuilder:
Inheritance graph
[legend]
Collaboration diagram for ripple::test::TestPeerSetBuilder:
Collaboration graph
[legend]

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

Constructor & Destructor Documentation

◆ TestPeerSetBuilder()

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

Definition at line 424 of file LedgerReplay_test.cpp.

Member Function Documentation

◆ build()

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

Implements ripple::PeerSetBuilder.

Definition at line 437 of file LedgerReplay_test.cpp.

Member Data Documentation

◆ local

LedgerReplayMsgHandler& ripple::test::TestPeerSetBuilder::local
private

Definition at line 444 of file LedgerReplay_test.cpp.

◆ remote

LedgerReplayMsgHandler& ripple::test::TestPeerSetBuilder::remote
private

Definition at line 445 of file LedgerReplay_test.cpp.

◆ behavior

PeerSetBehavior ripple::test::TestPeerSetBuilder::behavior
private

Definition at line 446 of file LedgerReplay_test.cpp.

◆ enableLedgerReplay

bool ripple::test::TestPeerSetBuilder::enableLedgerReplay
private

Definition at line 447 of file LedgerReplay_test.cpp.