Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*
* Distributed under the OSI-approved Apache License, Version 2.0. See
* accompanying file Copyright.txt for details.
*
* DataMan.h
*
* Created on: Jun 1, 2017
* Author: Jason Wang wangr1@ornl.gov
*/
#ifndef ADIOS2_TOOLKIT_TRANSPORTMAN_DATAMAN_DATAMAN_H_
#define ADIOS2_TOOLKIT_TRANSPORTMAN_DATAMAN_DATAMAN_H_
#include "adios2/toolkit/transportman/TransportMan.h"
#include <json.hpp>
namespace adios
{
namespace transportman
{
class DataMan : public TransportMan
{
public:
DataMan(MPI_Comm mpiComm, const bool debugMode);
virtual ~DataMan() = default;
void OpenWANTransports(const std::string &name, const OpenMode openMode,
const std::vector<Params> ¶metersVector,
const bool profile);
private:
nlohmann::json m_JMessage;
/** Pick the appropriate default */
const std::string m_DefaultPort = "22";
};
} // end namespace transportman
} // end namespace adios
#endif /* ADIOS2_TOOLKIT_TRANSPORTMAN_DATAMAN_DATAMAN_H_ */