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}, m_answer_port(cliport), m_result{result}
24 {}
25 std::string m_answer_addr = "unset"; // caller address
26 int m_answer_port = -999; // caller's requested port to answer
27 std::string m_result = "unset"; // result content
28};
29
30} // namespace ccm
31} // namespace daq
32} // namespace dune
33
34#endif // CMDLIB_INCLUDE_CMDLIB_COMMANDRESULT_HPP_
Including ers headers.
CommandResult(const std::string &cliaddr, int cliport, const std::string &result)