20 Poco::File file(dataFileName);
27 std::stringstream errMsg;
28 FILE* pFile = fopen(dataFileName.c_str(),
"r");
38 std::string dataFileData;
39 dataFile >> dataFileData;
41 if (!dataFileData.empty())
55 resultDataItem.
setState(static_cast<unsigned int>(DRCETaskRequest::TaskState::UNDEFINED));
56 resultData.
addDataItem(std::forward<DRCEResultDataItem>(resultDataItem));
64 Poco::File file(requestFileName);
71 std::stringstream errMsg;
72 FILE* pFile = fopen(requestFileName.c_str(),
"r");
74 errMsg <<
"Errno: " << strerror(errno) <<
std::endl;
82 std::string requestFileData;
83 requestFile >> requestFileData;
85 if (requestFileData.empty())
93 return inputJsonMessage;