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