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 "statistics_service_multiton.hpp"
8 : #include "statistics_service.hpp"
9 :
10 : #include <wfc/module/multiton.hpp>
11 : #include <wfc/name.hpp>
12 :
13 : namespace wfc{ namespace core{
14 :
15 : namespace
16 : {
17 0 : WFC_NAME2(service_name, "statistics-service")
18 :
19 0 : class impl
20 : : public ::wfc::jsonrpc::service_multiton< service_name, statistics::service_method_list>
21 : {};
22 : }
23 :
24 0 : statistics_service_multiton::statistics_service_multiton()
25 0 : : wfc::component( std::make_shared<impl>() )
26 : {
27 0 : }
28 :
29 3 : }}
|