ddt 1.1.0
Loading...
Searching...
No Matches
ddtDataBroker.hpp
Go to the documentation of this file.
1
22#ifndef DDTDATABROKER_HPP_
23#define DDTDATABROKER_HPP_
24
25#include <condition_variable>
26#include <csignal>
27#include <fstream>
28
31#include "ddt/ddtLogger.hpp"
32
37 public:
42
46 virtual ~DdtDataBroker();
47
51 int Run();
52
56 bool Init(int argc, char** argv);
57
58 private:
65 const std::string ExtractPort(const std::string uri, int& string_index) const;
66
73 bool CheckPath(std::string& uri, const int string_index);
74
78 ddt::DdtLogger* logger;
79
83 std::string uri_string;
84
88 std::string config_file;
89
93 bool datastreams_list;
94
98 const std::string URI_PATH{"/broker"};
99};
100
101#endif /* DDTDATABROKER_HPP_ */
102
Definition: ddtDataBroker.hpp:36
virtual ~DdtDataBroker()
bool Init(int argc, char **argv)
Definition: ddtDataBroker.cpp:97
int Run()
Definition: ddtDataBroker.cpp:179
Definition: ddtLogger.hpp:51
Builder for the command line parser.
Connection Manager. This class manages the connection handling between Data Brokers and Publisher / S...
Class to wrap the usage of log4cplus as logging utility. This file provides a wrapper class for the u...