The Node class allows creating topic readers and writers. More...
#include <DataStorm/DataStorm.h>
Public Member Functions | |
Node (Ice::CommunicatorPtr communicator, std::function< void(std::function< void()> call)> customExecutor=nullptr) | |
Constructs a DataStorm node. | |
Node (int &argc, char *argv[], std::optional< std::string_view > configFile=std::nullopt, std::function< void(std::function< void()> call)> customExecutor=nullptr) | |
Constructs a DataStorm node. | |
Node (int &argc, const char *argv[], std::optional< std::string_view > configFile=std::nullopt, std::function< void(std::function< void()> call)> customExecutor=nullptr) | |
Constructs a DataStorm node. | |
Node (int &argc, const wchar_t *argv[], std::optional< std::string_view > configFile=std::nullopt, std::function< void(std::function< void()> call)> customExecutor=nullptr) | |
Constructs a DataStorm node. | |
Node (int &argc, wchar_t *argv[], std::optional< std::string_view > configFile=std::nullopt, std::function< void(std::function< void()> call)> customExecutor=nullptr) | |
Constructs a DataStorm node. | |
Node (Node &&node) noexcept | |
Move constructor. | |
Node (std::optional< std::string_view > configFile=std::nullopt, std::function< void(std::function< void()> call)> customExecutor=nullptr) | |
Constructs a DataStorm node. | |
~Node () | |
Destructor. | |
Ice::CommunicatorPtr | getCommunicator () const noexcept |
Returns the Ice communicator associated with the node. | |
Ice::ConnectionPtr | getSessionConnection (std::string_view ident) const noexcept |
Returns the Ice connection associated with a session given a session identifier. | |
bool | isShutdown () const noexcept |
Returns whether or not the node shutdown has been initiated. | |
Node & | operator= (Node &&node) noexcept |
Move assignment operator. | |
void | shutdown () noexcept |
Shuts down the node. The shutdown interrupts calls which are waiting for events, writers or readers. | |
void | waitForShutdown () const noexcept |
Waits for shutdown to be called. |
Friends | |
template<typename, typename, typename> | |
class | Topic |
The Node class allows creating topic readers and writers.
A Node is the main DataStorm object which allows creating topic readers or writers.