DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
CommandResult.hpp
Go to the documentation of this file.
1
11#ifndef CMDLIB_INCLUDE_CMDLIB_COMMANDRESULT_HPP_
12#define CMDLIB_INCLUDE_CMDLIB_COMMANDRESULT_HPP_
13
14#include <string>
15
16namespace dune {
17namespace daq {
18namespace ccm {
19
21{
22 CommandResult(const std::string& cliaddr, int cliport, const std::string& result)
23 : m_answer_addr{ cliaddr }
24 , m_answer_port(cliport)
25 , m_result{ result }
26 {
27 }
28 std::string m_answer_addr = "unset"; // caller address
29 int m_answer_port = -999; // caller's requested port to answer
30 std::string m_result = "unset"; // result content
31};
32
33} // namespace ccm
34} // namespace daq
35} // namespace dune
36
37#endif // CMDLIB_INCLUDE_CMDLIB_COMMANDRESULT_HPP_
Including ers headers.
CommandResult(const std::string &cliaddr, int cliport, const std::string &result)