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 "hash_gateway_multiton.hpp"
8 : #include "hash_gateway.hpp"
9 :
10 : #include <wfc/module/multiton.hpp>
11 : #include <wfc/module/instance.hpp>
12 : #include <wfc/name.hpp>
13 :
14 : namespace demo{ namespace hash{
15 :
16 : namespace
17 : {
18 0 : WFC_NAME2(hash_gateway_name, "hash-gateway")
19 0 : class impl: public ::wfc::jsonrpc::gateway_multiton
20 : <
21 : hash_gateway_name,
22 : gateway_method_list,
23 : hash_interface
24 : >
25 : {};
26 : }
27 :
28 0 : hash_gateway_multiton::hash_gateway_multiton()
29 0 : : wfc::component( std::make_shared<impl>() )
30 : {
31 0 : }
32 :
33 3 : }}
|