123456789101112131415161718192021222324252627282930313233343536373839404142 |
- /**
- * This file is generated by jsonrpcstub, DO NOT CHANGE IT MANUALLY!
- */
- #ifndef JSONRPC_CPP_STUB_DEV_RPC_ADMINUTILSFACE_H_
- #define JSONRPC_CPP_STUB_DEV_RPC_ADMINUTILSFACE_H_
- #include "ModularServer.h"
- namespace dev {
- namespace rpc {
- class AdminUtilsFace : public ServerInterface<AdminUtilsFace>
- {
- public:
- AdminUtilsFace()
- {
- this->bindAndAddMethod(jsonrpc::Procedure("admin_setVerbosity", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_BOOLEAN, "param1",jsonrpc::JSON_INTEGER,"param2",jsonrpc::JSON_STRING, NULL), &dev::rpc::AdminUtilsFace::admin_setVerbosityI);
- this->bindAndAddMethod(jsonrpc::Procedure("admin_verbosity", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_BOOLEAN, "param1",jsonrpc::JSON_INTEGER, NULL), &dev::rpc::AdminUtilsFace::admin_verbosityI);
- this->bindAndAddMethod(jsonrpc::Procedure("admin_exit", jsonrpc::PARAMS_BY_POSITION, jsonrpc::JSON_BOOLEAN, "param1",jsonrpc::JSON_STRING, NULL), &dev::rpc::AdminUtilsFace::admin_exitI);
- }
- inline virtual void admin_setVerbosityI(const Json::Value &request, Json::Value &response)
- {
- response = this->admin_setVerbosity(request[0u].asInt(), request[1u].asString());
- }
- inline virtual void admin_verbosityI(const Json::Value &request, Json::Value &response)
- {
- response = this->admin_verbosity(request[0u].asInt());
- }
- inline virtual void admin_exitI(const Json::Value &request, Json::Value &response)
- {
- response = this->admin_exit(request[0u].asString());
- }
- virtual bool admin_setVerbosity(int param1, const std::string& param2) = 0;
- virtual bool admin_verbosity(int param1) = 0;
- virtual bool admin_exit(const std::string& param1) = 0;
- };
- }
- }
- #endif //JSONRPC_CPP_STUB_DEV_RPC_ADMINUTILSFACE_H_
|