The Node class allows creating topic readers and writers. More...
#include <DataStorm/DataStorm.h>
Public Member Functions | |
| Node (Ice::CommunicatorPtr communicator) | |
| Constructs a DataStorm node with the specified communicator. | |
| template<typename ArgvT> | |
| Node (int &argc, ArgvT argv) | |
| Constructs a DataStorm node with an Ice communicator initialized from command-line arguments. | |
| Node (Node &&node) noexcept | |
| Move constructor. | |
| Node (NodeOptions options={}) | |
| 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.