CatapultServer
v0.5.0.1 (Elephant)
|
Helper class for connecting to multiple nodes. More...
Public Member Functions | |
MultiNodeConnector () | |
Creates a connector. More... | |
~MultiNodeConnector () | |
Destroys the connector. More... | |
thread::IoThreadPool & | pool () |
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::IoThreadPool > | m_pPool |
Helper class for connecting to multiple nodes.
catapult::tools::MultiNodeConnector::MultiNodeConnector | ( | ) |
Creates a connector.
catapult::tools::MultiNodeConnector::~MultiNodeConnector | ( | ) |
Destroys the connector.
PacketIoFuture catapult::tools::MultiNodeConnector::connect | ( | const ionet::Node & | node | ) |
Connects to node.
thread::IoThreadPool & catapult::tools::MultiNodeConnector::pool | ( | ) |
Gets the underlying pool used by the connector.
|
private |
|
private |