ddt
0.1
datatransfer
databroker
src
include
ddt
ddtDataBroker.hpp
Go to the documentation of this file.
1
// @copyright
2
// (c) Copyright ESO 2020
3
// All Rights Reserved
4
// ESO (eso.org) is an Intergovernmental Organization, and therefore special
5
// legal conditions apply.
6
//
7
// @file ddtDataBroker.hpp
8
// @brief Data Broker.
9
//
10
// A Data Broker is the access point in the system for data producer
11
// applications to inject data into the system and for data consumer
12
// applications to receive data produced by the system. It therefore creates a
13
// MAL Server waiting for connections.
14
//
15
// @author Carsten Mannel, CGI
16
// @since 2020/09/25
17
//
18
19
#ifndef DDTDATABROKER_HPP_
20
#define DDTDATABROKER_HPP_
21
22
#include <condition_variable>
23
#include <csignal>
24
#include <fstream>
25
26
#include "
ddt/commandLineParserBuilder.hpp
"
27
#include "
ddt/ddtConnectionManager.hpp
"
28
#include "
ddt/ddtLogger.hpp
"
29
30
using namespace
ddt
;
31
35
class
DdtDataBroker
{
36
public
:
40
DdtDataBroker
();
41
45
virtual
~DdtDataBroker
();
46
50
int
Run();
51
55
bool
Init(
int
argc,
char
** argv);
56
57
private
:
58
DdtLogger
* logger;
59
std::string uri_string;
60
const
std::string URI_PATH{
"/broker"
};
61
};
62
63
#endif
/* DDTDATABROKER_HPP_ */
commandLineParserBuilder.hpp
ddt::DdtLogger
Definition:
ddtLogger.hpp:71
ddt
Definition:
ddtClient.hpp:36
DdtDataBroker::DdtDataBroker
DdtDataBroker()
DdtDataBroker::~DdtDataBroker
virtual ~DdtDataBroker()
DdtDataBroker
Definition:
ddtDataBroker.hpp:35
ddtLogger.hpp
ddtConnectionManager.hpp
Generated by
1.8.20