hce-node application
1.4.3
HCE Hierarchical Cluster Engine node application
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
ReducingBaseMessage.cpp
Go to the documentation of this file.
1
#include "
ReducingBaseMessage.hpp
"
2
3
namespace
HCE{
4
namespace
reduce_types{
5
6
ReducingBaseMessage::ReducingBaseMessage(
const
types::MessageType
processingType,
7
const
int
ttl
,
const
std::string& body):_body(body)
8
{
9
this->_processingType = processingType;
10
this->_ttl =
ttl
;
11
}
12
13
ReducingBaseMessage::~ReducingBaseMessage
(){}
14
15
types::MessageType
ReducingBaseMessage::getProcessingType
()
const
16
{
17
return
_processingType;
18
}
19
20
int
ReducingBaseMessage::getTTL
()
const
21
{
22
return
_ttl;
23
}
24
25
std::string
ReducingBaseMessage::getBody
()
const
26
{
27
return
_body;
28
}
29
30
}
31
}
sources
utils
reduceHandler
src
ReducingBaseMessage.cpp
Generated on Tue Jun 30 2015 19:42:14 for hce-node application by
1.8.1.2