MCPcopy Create free account
hub / github.com/cinemast/libjson-rpc-cpp / AddProcedure

Method AddProcedure

src/jsonrpccpp/server/rpcprotocolserver12.cpp:18–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16RpcProtocolServer12::RpcProtocolServer12(IProcedureInvokationHandler &handler) : rpc1(handler), rpc2(handler) {}
17
18void RpcProtocolServer12::AddProcedure(const Procedure &procedure) {
19 this->rpc1.AddProcedure(procedure);
20 this->rpc2.AddProcedure(procedure);
21}
22
23void RpcProtocolServer12::HandleRequest(const std::string &request, std::string &retValue) {
24 Json::Value req;

Callers 2

bindAndAddMethodMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected