hce-node application
1.4.3
HCE Hierarchical Cluster Engine node application
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
DRCESessionOptions.hpp
Go to the documentation of this file.
1
14
#ifndef DRCE_SESSION_OPTIONS_HPP
15
#define DRCE_SESSION_OPTIONS_HPP
16
17
#include <iostream>
18
#include <vector>
19
20
namespace
HCE
21
{
22
namespace
drce
23
{
24
//-----------------------------------------------------------------------------
25
struct
SessionOptions
26
{
27
enum class
SessionType
28
{
29
stHostShell=0,
30
stSsh=1
31
};
32
33
enum class
ThreadMode
34
{
35
tmSync=1,
36
tmAsync=2
37
};
38
39
enum class
CleanupFlag
40
{
41
cfNotDelete=0,
42
cfDelete=1
43
};
44
45
SessionOptions
(
void
);
46
SessionOptions
(
const
SessionOptions
& rhs);
47
SessionOptions
(
SessionOptions
&& rhs);
48
49
SessionOptions
&
operator=
(
const
SessionOptions
& rhs);
50
SessionOptions
&
operator=
(
SessionOptions
&& rhs);
51
52
void
clear
(
void
);
53
54
SessionType
sessionType
;
55
unsigned
int
port
;
56
std::string
userName
;
57
std::string
userPassword
;
58
std::string
shellName
;
59
std::vector<std::pair<std::string, std::string> >
environments
;
60
std::string
homeDir
;
61
unsigned
int
timeout
;
62
ThreadMode
tmode
;
63
unsigned
int
timeMax
;
64
CleanupFlag
cleanup
;
65
};
66
//-----------------------------------------------------------------------------
67
//-----------------------------------------------------------------------------
68
}
// namespace drce
69
}
// namespace HCE
70
71
#endif // DRCE_SESSION_OPTIONS_HPP
sources
utils
DRCE
src
DRCESessionOptions.hpp
Generated on Tue Jun 30 2015 19:42:12 for hce-node application by
1.8.1.2