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
DRCEJsonMessageConst.hpp
Go to the documentation of this file.
1 
14 #ifndef DRCE_JSON_MESSAGE_CONST_HPP
15 #define DRCE_JSON_MESSAGE_CONST_HPP
16 
17 #include <iostream>
18 
19 namespace HCE
20 {
21 namespace drce
22 {
23 namespace drce_json_message_const
24 {
25 //-----------------------------------------------------------------------------
26  // session options
27  const std::string sessionType = "type";
28  const std::string port = "port";
29  const std::string userName = "user";
30  const std::string userPassword = "password";
31  const std::string shellName = "shell";
32  const std::string environment = "environment";
33  const std::string timeout = "timeout";
34  const std::string tmode = "tmode";
35 
36  // field item
37  const std::string fileName = "name";
38  const std::string fileData = "data";
39  const std::string actionTypeMask = "action";
40  // input json message
41  const std::string sessionOptions = "session";
42  const std::string commandLine = "command";
43  const std::string inputStream = "input";
44  // output json message
45  const std::string errorCode = "error_code";
46  const std::string errorMessage = "error_message";
47  const std::string responseBody = "data";
48  const std::string elapsedTime = "time";
49  // result data
50  const std::string stdoutStream = "stdout";
51  const std::string stderrStream = "stderror";
52  const std::string filesArray = "files";
53  const std::string nodeName = "node_name";
54  const std::string time = "time";
55  const std::string exitStatus = "exit_status";
56 
57 //-----------------------------------------------------------------------------
58 //-----------------------------------------------------------------------------
59 } // end namespace drce_json_message_const
60 } // end namespace drce
61 } // end namespace HCE
62 
63 #endif // DRCE_JSON_MESSAGE_CONST_HPP