Line data Source code
1 : //
2 : // Author: Vladimir Migashko <migashko@gmail.com>, (C) 2013-2015
3 : //
4 : // Copyright: See COPYING file that comes with this distribution
5 : //
6 :
7 : #include <prefixdb/prefixdb_module.hpp>
8 : #include <prefixdb/prefixdb/prefixdb_multiton.hpp>
9 : #include <prefixdb/service/prefixdb_service_multiton.hpp>
10 : #include <prefixdb/gateway/prefixdb_gateway_multiton.hpp>
11 :
12 : #include <wfc/module/component_list.hpp>
13 : #include <wfc/name.hpp>
14 :
15 : namespace wamba{ namespace prefixdb{
16 :
17 : namespace {
18 :
19 0 : WFC_NAME2(module_name, "prefixdb")
20 :
21 0 : class impl: public ::wfc::component_list<
22 : module_name,
23 : prefixdb_service_multiton,
24 : prefixdb_multiton,
25 : prefixdb_gateway_multiton
26 : >
27 : {
28 : public:
29 0 : virtual std::string description() const override
30 : {
31 0 : return "PrefixDB module. Engine google leveldb with update packed and lua scripts. Created new DB for evry unique prefix.";
32 : }
33 : };
34 :
35 : }
36 :
37 0 : prefixdb_module::prefixdb_module()
38 0 : : module( std::make_shared<impl>() )
39 : {
40 0 : }
41 :
42 3 : }}
|