CatapultServer  v0.5.0.1 (Elephant)
catapult::tools::MultiNodeConnector Class Reference

Helper class for connecting to multiple nodes. More...

Collaboration diagram for catapult::tools::MultiNodeConnector:

Public Member Functions

 MultiNodeConnector ()
 Creates a connector. More...
 
 ~MultiNodeConnector ()
 Destroys the connector. More...
 
thread::IoThreadPoolpool ()
 Gets the underlying pool used by the connector. More...
 
PacketIoFuture connect (const ionet::Node &node)
 Connects to node. More...
 

Private Attributes

crypto::KeyPair m_clientKeyPair
 
std::shared_ptr< thread::IoThreadPoolm_pPool
 

Detailed Description

Helper class for connecting to multiple nodes.

Constructor & Destructor Documentation

◆ MultiNodeConnector()

catapult::tools::MultiNodeConnector::MultiNodeConnector ( )

Creates a connector.

◆ ~MultiNodeConnector()

catapult::tools::MultiNodeConnector::~MultiNodeConnector ( )

Destroys the connector.

Member Function Documentation

◆ connect()

PacketIoFuture catapult::tools::MultiNodeConnector::connect ( const ionet::Node node)

Connects to node.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pool()

thread::IoThreadPool & catapult::tools::MultiNodeConnector::pool ( )

Gets the underlying pool used by the connector.

Here is the caller graph for this function:

Member Data Documentation

◆ m_clientKeyPair

crypto::KeyPair catapult::tools::MultiNodeConnector::m_clientKeyPair
private

◆ m_pPool

std::shared_ptr<thread::IoThreadPool> catapult::tools::MultiNodeConnector::m_pPool
private

The documentation for this class was generated from the following files: