Kagome
Polkadot Runtime Engine in C++17
author_jrpc_processor.hpp
Go to the documentation of this file.
1 
6 #ifndef KAGOME_CORE_SERVICE_EXTRINSICS_SUBMISSION_SERVICE_HPP
7 #define KAGOME_CORE_SERVICE_EXTRINSICS_SUBMISSION_SERVICE_HPP
8 
12 
13 namespace kagome::api::author {
14 
19  public:
20  AuthorJRpcProcessor(std::shared_ptr<JRpcServer> server,
21  std::shared_ptr<AuthorApi> api);
22 
23  private:
24  void registerHandlers() override;
25 
26  std::shared_ptr<AuthorApi> api_;
27  std::shared_ptr<JRpcServer> server_;
28  };
29 
30 } // namespace kagome::api::author
31 
32 #endif // KAGOME_CORE_SERVICE_EXTRINSICS_SUBMISSION_SERVICE_HPP
void registerHandlers() override
registers callbacks for jrpc request
extrinsic submission service implementation
AuthorJRpcProcessor(std::shared_ptr< JRpcServer > server, std::shared_ptr< AuthorApi > api)