CatapultServer  v0.5.0.1 (Elephant)
NodeInfo.h File Reference
Include dependency graph for NodeInfo.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  catapult::ionet::ServiceIdentifier_tag
 
struct  catapult::ionet::ConnectionState
 Connection state unique to a node and connection identifier. More...
 
struct  catapult::ionet::NodeInfo
 Information about a node and its interactions. More...
 

Namespaces

 catapult
 
 catapult::ionet
 

Macros

#define NODE_SOURCE_LIST
 
#define ENUM_VALUE(LABEL)   LABEL,
 

Typedefs

using catapult::ionet::ServiceIdentifier = utils::BaseValue< uint32_t, ServiceIdentifier_tag >
 

Enumerations

enum  catapult::ionet::NodeSource : uint32_t { catapult::ionet::NodeSource::NODE_SOURCE_LIST }
 

Functions

std::ostream & catapult::ionet::operator<< (std::ostream &out, NodeSource value)
 Insertion operator for outputting value to out. More...
 

Macro Definition Documentation

◆ ENUM_VALUE

#define ENUM_VALUE (   LABEL)    LABEL,

◆ NODE_SOURCE_LIST

#define NODE_SOURCE_LIST
Value:
/* Incoming connection from another node. */ \
ENUM_VALUE(Dynamic_Incoming) \
\
/* Forwarded from a peer node. */ \
ENUM_VALUE(Dynamic) \
\
/* Loaded from a local peers file. */ \
ENUM_VALUE(Static) \
\
/* Local node. */ \
ENUM_VALUE(Local)
Local
ionet::Node Local
Definition: tools/network/main.cpp:42