HCE project C++ developers source code library  1.1.1
HCE project developer library
 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 //-----------------------------------------------------------------------------
26 {
27  enum class SessionType
28  {
29  stHostShell=0,
30  stSsh=1
31  };
32 
33  SessionOptions(void);
34  SessionOptions(const SessionOptions& rhs);
36 
39 
40  void clear(void);
41 
43  unsigned int port;
44  std::string userName;
45  std::string userPassword;
46  std::string shellName;
47  std::vector<std::pair<std::string, std::string> > environments;
48  unsigned int timeout;
49  unsigned int tmode;
50 };
51 //-----------------------------------------------------------------------------
52 //-----------------------------------------------------------------------------
53 } // namespace drce
54 } // namespace HCE
55 
56 #endif // DRCE_SESSION_OPTIONS_HPP