Kagome
Polkadot Runtime Engine in C++17
kagome::api::child_state::ChildStateJrpcProcessor Class Reference

#include <child_state_jrpc_processor.hpp>

Inheritance diagram for kagome::api::child_state::ChildStateJrpcProcessor:
Collaboration diagram for kagome::api::child_state::ChildStateJrpcProcessor:

Public Member Functions

 ChildStateJrpcProcessor (std::shared_ptr< JRpcServer > server, std::shared_ptr< ChildStateApi > api)
 
 ~ChildStateJrpcProcessor () 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< ChildStateApiapi_
 
std::shared_ptr< JRpcServerserver_
 

Detailed Description

Definition at line 16 of file child_state_jrpc_processor.hpp.

Constructor & Destructor Documentation

kagome::api::child_state::ChildStateJrpcProcessor::ChildStateJrpcProcessor ( std::shared_ptr< JRpcServer server,
std::shared_ptr< ChildStateApi api 
)

Definition at line 17 of file child_state_jrpc_processor.cpp.

kagome::api::child_state::ChildStateJrpcProcessor::~ChildStateJrpcProcessor ( )
overridedefault

Member Function Documentation

void kagome::api::child_state::ChildStateJrpcProcessor::registerHandlers ( )
overridevirtual

registers callbacks for jrpc request

Implements kagome::api::JRpcProcessor.

Definition at line 27 of file child_state_jrpc_processor.cpp.

Member Data Documentation

std::shared_ptr<ChildStateApi> kagome::api::child_state::ChildStateJrpcProcessor::api_
private

Definition at line 25 of file child_state_jrpc_processor.hpp.

std::shared_ptr<JRpcServer> kagome::api::child_state::ChildStateJrpcProcessor::server_
private

Definition at line 26 of file child_state_jrpc_processor.hpp.


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