CatapultServer  v0.5.0.1 (Elephant)
PeersConnectionTasks.cpp File Reference
Include dependency graph for PeersConnectionTasks.cpp:

Namespaces

 catapult
 
 catapult::extensions
 

Functions

NodeAger catapult::extensions::CreateNodeAger (ionet::ServiceIdentifier serviceId, const config::NodeConfiguration::ConnectionsSubConfiguration &config, ionet::NodeContainer &nodes)
 Creates and prepares a node ager that ages all serviceId connections in nodes given config. More...
 
NodeSelector catapult::extensions::CreateNodeSelector (const SelectorSettings &settings)
 
thread::Task catapult::extensions::CreateConnectPeersTask (const SelectorSettings &settings, net::PacketWriters &packetWriters)
 Creates a task for the specified service that connects to nodes with the specified role given settings and packetWriters. More...
 
thread::Task catapult::extensions::CreateConnectPeersTask (const SelectorSettings &settings, net::PacketWriters &packetWriters, const NodeSelector &selector)
 
RemoveOnlyNodeSelector catapult::extensions::CreateRemoveOnlyNodeSelector (const SelectorSettings &settings)
 
thread::Task catapult::extensions::CreateAgePeersTask (const SelectorSettings &settings, net::ConnectionContainer &connectionContainer)
 Creates a task for the specified service that ages nodes given settings and connectionContainer. More...
 
thread::Task catapult::extensions::CreateAgePeersTask (const SelectorSettings &settings, net::ConnectionContainer &connectionContainer, const RemoveOnlyNodeSelector &selector)
 

Variable Documentation

◆ m_state

AddState m_state
private

◆ Nodes

ionet::NodeContainer& Nodes

◆ PacketWriters

net::PacketWriters& PacketWriters

◆ ServiceId

ionet::ServiceIdentifier ServiceId