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.
communicator | The 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. |
customExecutor | An 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. |