hce-node application  1.4.3
HCE Hierarchical Cluster Engine node application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ReducingOutputMessageBuilderIf.hpp
Go to the documentation of this file.
1 
15 #ifndef REDUCINGOUTPUTMESSAGEBUILDERIF_HPP_
16 #define REDUCINGOUTPUTMESSAGEBUILDERIF_HPP_
17 
19 #include <Poco/SharedPtr.h>
20 #include "Exceptions.hpp"
21 #include <string>
22 
23 namespace HCE{
24 namespace reduce{
25 
27 public:
29 
30  virtual Poco::SharedPtr<reduce_types::ReducingOutputMessage>
31  build(const types::MessageType& msgType,
32  const int ttl, const std::string& json) = 0;
33  virtual Poco::SharedPtr<reduce_types::ReducingOutputMessage>
34  build(const NotFoundByKeyException& e) = 0;
35 };
36 
37 }
38 }
39 
40 #endif