rippled
Public Member Functions | Public Attributes | List of all members
ripple::peer_in_cluster Struct Reference

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

Collaboration diagram for ripple::peer_in_cluster:
Collaboration graph
[legend]

Public Member Functions

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

Public Attributes

match_peer skipPeer
 

Detailed Description

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

Definition at line 136 of file predicates.h.

Constructor & Destructor Documentation

◆ peer_in_cluster()

ripple::peer_in_cluster::peer_in_cluster ( Peer const *  skip = nullptr)

Definition at line 140 of file predicates.h.

Member Function Documentation

◆ operator()()

bool ripple::peer_in_cluster::operator() ( std::shared_ptr< Peer > const &  peer) const

Definition at line 145 of file predicates.h.

Member Data Documentation

◆ skipPeer

match_peer ripple::peer_in_cluster::skipPeer

Definition at line 138 of file predicates.h.