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
ReducingOutputMessageBuilder.hpp
Go to the documentation of this file.
1
15
#ifndef REDUCINGOUTPUTMESSAGEBUILDER_HPP_
16
#define REDUCINGOUTPUTMESSAGEBUILDER_HPP_
17
18
#include "
ReducingOutputMessageBuilderIf.hpp
"
19
#include "
ReducingExceptionsTranslatorIf.hpp
"
20
21
namespace
HCE{
22
namespace
reduce{
23
24
class
ReducingOutputMessageBuilder
:
public
ReducingOutputMessageBuilderIf
{
25
public
:
26
ReducingOutputMessageBuilder
(
27
const
Poco::SharedPtr<ReducingExceptionsTranslatorIf>& reducingExceptionsTranslator);
28
virtual
~ReducingOutputMessageBuilder
();
29
30
Poco::SharedPtr<reduce_types::ReducingOutputMessage>
build
(
31
const
types::MessageType
& msgType,
32
const
int
ttl,
const
std::string& json);
33
Poco::SharedPtr<reduce_types::ReducingOutputMessage>
34
build
(
const
NotFoundByKeyException
& e);
35
36
private
:
37
Poco::SharedPtr<ReducingExceptionsTranslatorIf> _reducingExceptionsTranslator;
38
39
ReducingOutputMessageBuilder
();
40
};
41
42
}
43
}
44
45
#endif
sources
reduceHandler
src
ReducingOutputMessageBuilder.hpp
Generated on Mon Jan 13 2014 13:08:37 for HCE project C++ developers source code library by
1.8.1.2