Kagome
Polkadot Runtime Engine in C++17
kagome::api::rpc::RpcJRpcProcessor Class Reference

#include <rpc_jrpc_processor.hpp>

Inheritance diagram for kagome::api::rpc::RpcJRpcProcessor:
Collaboration diagram for kagome::api::rpc::RpcJRpcProcessor:

Public Member Functions

 RpcJRpcProcessor (std::shared_ptr< JRpcServer > server, std::shared_ptr< RpcApi > api)
 
 ~RpcJRpcProcessor () override=default
 
void registerHandlers () override
 registers callbacks for jrpc request More...
 
- Public Member Functions inherited from kagome::api::JRpcProcessor
virtual ~JRpcProcessor ()=default
 

Private Attributes

std::shared_ptr< RpcApiapi_
 
std::shared_ptr< JRpcServerserver_
 

Detailed Description

Definition at line 16 of file rpc_jrpc_processor.hpp.

Constructor & Destructor Documentation

kagome::api::rpc::RpcJRpcProcessor::RpcJRpcProcessor ( std::shared_ptr< JRpcServer server,
std::shared_ptr< RpcApi api 
)

Definition at line 13 of file rpc_jrpc_processor.cpp.

kagome::api::rpc::RpcJRpcProcessor::~RpcJRpcProcessor ( )
overridedefault

Member Function Documentation

void kagome::api::rpc::RpcJRpcProcessor::registerHandlers ( )
overridevirtual

registers callbacks for jrpc request

Implements kagome::api::JRpcProcessor.

Definition at line 23 of file rpc_jrpc_processor.cpp.

Member Data Documentation

std::shared_ptr<RpcApi> kagome::api::rpc::RpcJRpcProcessor::api_
private

Definition at line 25 of file rpc_jrpc_processor.hpp.

std::shared_ptr<JRpcServer> kagome::api::rpc::RpcJRpcProcessor::server_
private

Definition at line 26 of file rpc_jrpc_processor.hpp.


The documentation for this class was generated from the following files: