Kagome
Polkadot Runtime Engine in C++17
kagome::api::state::StateJrpcProcessor Class Reference

#include <state_jrpc_processor.hpp>

Inheritance diagram for kagome::api::state::StateJrpcProcessor:
Collaboration diagram for kagome::api::state::StateJrpcProcessor:

Public Member Functions

 StateJrpcProcessor (std::shared_ptr< JRpcServer > server, std::shared_ptr< StateApi > api)
 
 ~StateJrpcProcessor () 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< StateApiapi_
 
std::shared_ptr< JRpcServerserver_
 

Detailed Description

Definition at line 16 of file state_jrpc_processor.hpp.

Constructor & Destructor Documentation

kagome::api::state::StateJrpcProcessor::StateJrpcProcessor ( std::shared_ptr< JRpcServer server,
std::shared_ptr< StateApi api 
)

Definition at line 22 of file state_jrpc_processor.cpp.

kagome::api::state::StateJrpcProcessor::~StateJrpcProcessor ( )
overridedefault

Member Function Documentation

void kagome::api::state::StateJrpcProcessor::registerHandlers ( )
overridevirtual

registers callbacks for jrpc request

Implements kagome::api::JRpcProcessor.

Definition at line 32 of file state_jrpc_processor.cpp.

Member Data Documentation

std::shared_ptr<StateApi> kagome::api::state::StateJrpcProcessor::api_
private

Definition at line 25 of file state_jrpc_processor.hpp.

std::shared_ptr<JRpcServer> kagome::api::state::StateJrpcProcessor::server_
private

Definition at line 26 of file state_jrpc_processor.hpp.


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