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

Describes a connectible peer address along with some metadata. More...

Collaboration diagram for ripple::PeerFinder::Endpoint:
Collaboration graph
[legend]

Public Member Functions

 Endpoint ()=default
 
 Endpoint (beast::IP::Endpoint const &ep, std::uint32_t hops_)
 

Public Attributes

std::uint32_t hops = 0
 
beast::IP::Endpoint address
 

Detailed Description

Describes a connectible peer address along with some metadata.

Definition at line 113 of file PeerfinderManager.h.

Constructor & Destructor Documentation

◆ Endpoint() [1/2]

ripple::PeerFinder::Endpoint::Endpoint ( )
default

◆ Endpoint() [2/2]

ripple::PeerFinder::Endpoint::Endpoint ( beast::IP::Endpoint const &  ep,
std::uint32_t  hops_ 
)

Definition at line 26 of file Endpoint.cpp.

Member Data Documentation

◆ hops

std::uint32_t ripple::PeerFinder::Endpoint::hops = 0

Definition at line 119 of file PeerfinderManager.h.

◆ address

beast::IP::Endpoint ripple::PeerFinder::Endpoint::address

Definition at line 120 of file PeerfinderManager.h.