/usr/include/jsonrpccpp/server/iprocedureinvokationhandler.h is in libjsonrpccpp-dev 0.6.0-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | /*************************************************************************
* libjson-rpc-cpp
*************************************************************************
* @file iprocedureinvokationhandler.h
* @date 23.10.2014
* @author Peter Spiess-Knafl <peter.knafl@gmail.com>
* @license See attached LICENSE.txt
************************************************************************/
#ifndef JSONRPC_CPP_IPROCEDUREINVOKATIONHANDLER_H
#define JSONRPC_CPP_IPROCEDUREINVOKATIONHANDLER_H
namespace Json {
class Value;
}
namespace jsonrpc {
class Procedure;
class IProcedureInvokationHandler {
public:
virtual ~IProcedureInvokationHandler() {}
virtual void HandleMethodCall(Procedure& proc, const Json::Value& input, Json::Value& output) = 0;
virtual void HandleNotificationCall(Procedure& proc, const Json::Value& input) = 0;
};
}
#endif //JSONRPC_CPP_IPROCEDUREINVOKATIONHANDLER_H
|