hce-node application  1.4.3
HCE Hierarchical Cluster Engine node application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ReducingOutputMessage.cpp
Go to the documentation of this file.
2 
3 namespace HCE{
4 namespace reduce_types{
5 
6 ReducingOutputMessage::ReducingOutputMessage(
7  const types::MessageType processingType, const int ttl,
8  const std::string& body, const int processingErrorCode,
9  const std::string& processingErrorMsg,
10  int processingElapsedTime):
11  ReducingBaseMessage(processingType, ttl, body),
12  _processingErrorMsg(processingErrorMsg)
13 {
14  this->_processingErrorCode = processingErrorCode;
15  this->_processingElapsedTime = processingElapsedTime;
16 }
17 
19 
21 {
22  return _processingErrorCode;
23 }
24 
26 {
27  return _processingErrorMsg;
28 }
29 
31 {
32  return _processingElapsedTime;
33 }
34 
35 }
36 }