Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ Node() [6/7]

DataStorm::Node::Node ( Ice::CommunicatorPtr communicator,
std::function< void(std::function< void()> call)> customExecutor = nullptr )

Constructs a DataStorm node.

A node is the main DataStorm object. It is required to construct topics. The node uses the given Ice communicator.

Parameters
communicatorThe Ice communicator used by the topic factory for its configuration and communications. This communicator must be initialized with a property set to use the "DataStorm" opt-in prefix.
customExecutorAn optional executor used to execute user callbacks, if no callback executor is provided the Node will use the default callback executor that executes callback in a dedicated thread.