HCE project C++ developers source code library  1.1.1
HCE project developer library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ReducingBaseMessage.cpp
Go to the documentation of this file.
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 
14 
16 {
17  return _processingType;
18 }
19 
21 {
22  return _ttl;
23 }
24 
25 std::string ReducingBaseMessage::getBody() const
26 {
27  return _body;
28 }
29 
30 }
31 }