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 "ponger_service_multiton.hpp"
8 : #include "ponger_service.hpp"
9 :
10 : #include <wfc/module/multiton.hpp>
11 : #include <wfc/module/instance.hpp>
12 : #include <wfc/name.hpp>
13 :
14 : #include <memory>
15 :
16 : namespace demo{ namespace pingpong{
17 :
18 : namespace
19 : {
20 0 : WFC_NAME2(service_name, "ponger-service")
21 :
22 0 : class impl
23 : : public wfc::jsonrpc::service_multiton<service_name, service::ponger_method_list, service::pinger_interface>{};
24 : }
25 :
26 0 : ponger_service_multiton::ponger_service_multiton()
27 0 : : wfc::component( std::make_shared<impl>() )
28 : {
29 0 : }
30 :
31 3 : }}
|