Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
dev::p2p::NodeInfo Struct Reference

#include <Host.h>

Collaboration diagram for dev::p2p::NodeInfo:
[legend]

Public Member Functions

 NodeInfo ()=default
 
 NodeInfo (NodeID const &_id, std::string const &_address, unsigned _port, std::string const &_version)
 
std::string enode () const
 

Public Attributes

NodeID id
 
std::string address
 
unsigned port
 
std::string version
 

Detailed Description

Definition at line 108 of file Host.h.

Constructor & Destructor Documentation

dev::p2p::NodeInfo::NodeInfo ( )
default
dev::p2p::NodeInfo::NodeInfo ( NodeID const &  _id,
std::string const &  _address,
unsigned  _port,
std::string const &  _version 
)
inline

Definition at line 111 of file Host.h.

Member Function Documentation

std::string dev::p2p::NodeInfo::enode ( ) const
inline

Definition at line 114 of file Host.h.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

std::string dev::p2p::NodeInfo::address

Definition at line 117 of file Host.h.

NodeID dev::p2p::NodeInfo::id

Definition at line 116 of file Host.h.

unsigned dev::p2p::NodeInfo::port

Definition at line 118 of file Host.h.

std::string dev::p2p::NodeInfo::version

Definition at line 119 of file Host.h.


The documentation for this struct was generated from the following file: