Line data Source code
1 : //
2 : // Author: Vladimir Migashko <migashko@gmail.com>, (C) 2013-2018
3 : //
4 : // Copyright: See COPYING file that comes with this distribution
5 : //
6 :
7 : #pragma once
8 :
9 : #include <wfc/statistics/api/push_json.hpp>
10 : #include <wfc/statistics/api/del_json.hpp>
11 : #include <wfc/statistics/istatistics.hpp>
12 : #include <wfc/jsonrpc.hpp>
13 :
14 : namespace wfc{ namespace core{ namespace statistics{
15 :
16 0 : JSONRPC_TAG(push)
17 0 : JSONRPC_TAG(del)
18 :
19 0 : struct service_method_list: wfc::jsonrpc::method_list
20 : <
21 : wfc::jsonrpc::target< wfc::istatistics>,
22 : wfc::jsonrpc::invoke_method< _push_, wfc::statistics::request::push_json, wfc::statistics::response::push_json, wfc::istatistics, &wfc::istatistics::push>,
23 : wfc::jsonrpc::invoke_method< _del_, wfc::statistics::request::del_json, wfc::statistics::response::del_json, wfc::istatistics, &wfc::istatistics::del>
24 : >
25 : {};
26 :
27 : }}}
|