xrpld
Loading...
Searching...
No Matches
xrpl::PeerFinder::Endpoint Struct Reference

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

#include <PeerfinderManager.h>

Collaboration diagram for xrpl::PeerFinder::Endpoint:

Public Member Functions

 Endpoint ()=default
 Endpoint (beast::IP::Endpoint ep, std::uint32_t hops)

Public Attributes

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

Detailed Description

Describes a connectable peer address along with some metadata.

Definition at line 106 of file PeerfinderManager.h.

Constructor & Destructor Documentation

◆ Endpoint() [1/2]

xrpl::PeerFinder::Endpoint::Endpoint ( )
default

◆ Endpoint() [2/2]

xrpl::PeerFinder::Endpoint::Endpoint ( beast::IP::Endpoint ep,
std::uint32_t hops )

Definition at line 12 of file Endpoint.cpp.

Member Data Documentation

◆ hops

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

Definition at line 112 of file PeerfinderManager.h.

◆ address

beast::IP::Endpoint xrpl::PeerFinder::Endpoint::address

Definition at line 113 of file PeerfinderManager.h.