HCE project C++ developers source code library
1.1.1
HCE project developer library
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
ReducingBaseMessage.hpp
Go to the documentation of this file.
1
15
#ifndef REDUCINGBASEMESSAGE_HPP_
16
#define REDUCINGBASEMESSAGE_HPP_
17
18
#include <string>
19
#include "
MessageType.hpp
"
20
21
namespace
HCE{
22
namespace
reduce_types{
23
24
const
int
FAKE_MSG_TYPE
= -1;
25
const
int
FAKE_TTL
= -1;
26
const
int
SPHINX_SEARCH_PROCESSING_TYPE
= 0;
27
28
29
class
ReducingBaseMessage
{
30
public
:
31
ReducingBaseMessage
(
const
types::MessageType
processingType,
const
int
ttl,
32
const
std::string& body);
33
virtual
~ReducingBaseMessage
();
34
35
types::MessageType
getProcessingType
()
const
;
36
int
getTTL
()
const
;
37
std::string
getBody
()
const
;
38
39
private
:
40
types::MessageType
_processingType;
41
int
_ttl;
42
std::string _body;
43
44
ReducingBaseMessage
();
45
};
46
47
48
}
49
}
50
51
#endif
sources
reduceHandler
src
ReducingBaseMessage.hpp
Generated on Mon Jan 13 2014 13:08:37 for HCE project C++ developers source code library by
1.8.1.2