CatapultServer  v0.5.0.1 (Elephant)
catapult::ionet::NodeMetadata Struct Reference

Additional node information. More...

Collaboration diagram for catapult::ionet::NodeMetadata:

Public Member Functions

 NodeMetadata ()
 Creates default metadata. More...
 
 NodeMetadata (model::NetworkIdentifier networkIdentifier)
 Creates metadata for a node in the network identified by networkIdentifier. More...
 
 NodeMetadata (model::NetworkIdentifier networkIdentifier, const std::string &name)
 Creates metadata for a node with name in the network identified by networkIdentifier. More...
 
 NodeMetadata (model::NetworkIdentifier networkIdentifier, const std::string &name, NodeVersion version, NodeRoles roles)
 Creates metadata for a node with name, version and roles in the network identified by networkIdentifier. More...
 

Public Attributes

model::NetworkIdentifier NetworkIdentifier
 Network identifier. More...
 
std::string Name
 Friendly name (optional). More...
 
NodeVersion Version
 Version. More...
 
NodeRoles Roles
 Role(s). More...
 

Detailed Description

Additional node information.

Constructor & Destructor Documentation

◆ NodeMetadata() [1/4]

catapult::ionet::NodeMetadata::NodeMetadata ( )
inline

Creates default metadata.

◆ NodeMetadata() [2/4]

catapult::ionet::NodeMetadata::NodeMetadata ( model::NetworkIdentifier  networkIdentifier)
inlineexplicit

Creates metadata for a node in the network identified by networkIdentifier.

◆ NodeMetadata() [3/4]

catapult::ionet::NodeMetadata::NodeMetadata ( model::NetworkIdentifier  networkIdentifier,
const std::string &  name 
)
inline

Creates metadata for a node with name in the network identified by networkIdentifier.

◆ NodeMetadata() [4/4]

catapult::ionet::NodeMetadata::NodeMetadata ( model::NetworkIdentifier  networkIdentifier,
const std::string &  name,
NodeVersion  version,
NodeRoles  roles 
)
inline

Creates metadata for a node with name, version and roles in the network identified by networkIdentifier.

Member Data Documentation

◆ Name

std::string catapult::ionet::NodeMetadata::Name

Friendly name (optional).

◆ NetworkIdentifier

model::NetworkIdentifier catapult::ionet::NodeMetadata::NetworkIdentifier

Network identifier.

◆ Roles

NodeRoles catapult::ionet::NodeMetadata::Roles

Role(s).

◆ Version

NodeVersion catapult::ionet::NodeMetadata::Version

Version.


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