xrpld
Loading...
Searching...
No Matches
xrpl::PeerInCluster Struct Reference

Select all peers (except optional excluded) that are in our cluster. More...

#include <predicates.h>

Collaboration diagram for xrpl::PeerInCluster:

Public Member Functions

 PeerInCluster (Peer const *skip=nullptr)
bool operator() (std::shared_ptr< Peer > const &peer) const

Public Attributes

MatchPeer skipPeer

Detailed Description

Select all peers (except optional excluded) that are in our cluster.

Definition at line 111 of file predicates.h.

Constructor & Destructor Documentation

◆ PeerInCluster()

xrpl::PeerInCluster::PeerInCluster ( Peer const * skip = nullptr)

Definition at line 115 of file predicates.h.

Member Function Documentation

◆ operator()()

bool xrpl::PeerInCluster::operator() ( std::shared_ptr< Peer > const & peer) const

Definition at line 120 of file predicates.h.

Member Data Documentation

◆ skipPeer

MatchPeer xrpl::PeerInCluster::skipPeer

Definition at line 113 of file predicates.h.