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

Public Member Functions

 NodeContainerData (size_t maxNodes, const supplier< Timestamp > &timeSupplier)
 

Public Attributes

const size_t MaxNodes
 
const supplier< TimestampTimeSupplier
 
size_t NextNodeId
 
std::unordered_map< Key, NodeData, utils::ArrayHasher< Key > > NodeDataContainer
 
std::vector< std::pair< ServiceIdentifier, ionet::NodeRoles > > ServiceRolesMap
 

Constructor & Destructor Documentation

◆ NodeContainerData()

catapult::ionet::NodeContainerData::NodeContainerData ( size_t  maxNodes,
const supplier< Timestamp > &  timeSupplier 
)
inline

Member Data Documentation

◆ MaxNodes

const size_t catapult::ionet::NodeContainerData::MaxNodes

◆ NextNodeId

size_t catapult::ionet::NodeContainerData::NextNodeId

◆ NodeDataContainer

std::unordered_map<Key, NodeData, utils::ArrayHasher<Key> > catapult::ionet::NodeContainerData::NodeDataContainer

◆ ServiceRolesMap

std::vector<std::pair<ServiceIdentifier, ionet::NodeRoles> > catapult::ionet::NodeContainerData::ServiceRolesMap

◆ TimeSupplier

const supplier<Timestamp> catapult::ionet::NodeContainerData::TimeSupplier

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