hce-node application  1.4.3
HCE Hierarchical Cluster Engine node application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
SphinxIndexer.hpp
Go to the documentation of this file.
1 
14 #ifndef SPHINX_INDEXER_HPP
15 #define SPHINX_INDEXER_HPP
16 
17 #include <Poco/Exception.h>
19 #include "CustomMessage.hpp"
20 
21 namespace HCE
22 {
23 namespace sphinx
24 {
25 class SphinxFunctionalObject;
26 //-----------------------------------------------------------------------------
28 {
29 public:
31  virtual ~SphinxIndexer(void) {};
32 
33  std::string Process(const std::string& json); // make search (black box)
35 
36 protected:
37  void makeIndexCommand(const std::string& json) throw (Poco::Exception);
38  void makeAdminCommand(const std::string& json, std::string& resultData) throw (Poco::Exception);
39 
42 
44  friend class SphinxFunctionalObject;
45 };
46 //-----------------------------------------------------------------------------
47 //-----------------------------------------------------------------------------
48 } // end namespace sphinx
49 } // end namespace HCE
50 
51 #endif // SPHINX_INDEXER_HPP