Kagome
Polkadot Runtime Engine in C++17
kagome::api::state::request::SubscribeRuntimeVersion Struct Referencefinal

#include <subscribe_runtime_version.hpp>

Inheritance diagram for kagome::api::state::request::SubscribeRuntimeVersion:
Collaboration diagram for kagome::api::state::request::SubscribeRuntimeVersion:

Public Member Functions

 SubscribeRuntimeVersion (std::shared_ptr< StateApi > &api)
 
outcome::result< Returnexecute () override
 
- Public Member Functions inherited from kagome::api::details::RequestType< uint32_t >
 RequestType ()=default
 
 RequestType (const RequestType &)=delete
 
 RequestType (RequestType &&)=delete
 
virtual ~RequestType ()=default
 
RequestTypeoperator= (const RequestType &)=delete
 
RequestTypeoperator= (RequestType &&)=delete
 
outcome::result< void > init (const jsonrpc::Request::Parameters &params)
 
auto getParam () -> typename std::tuple_element< I, decltype(params_)>::type &
 

Private Attributes

std::shared_ptr< StateApiapi_
 

Additional Inherited Members

- Public Types inherited from kagome::api::details::RequestType< uint32_t >
using Params = std::tuple< ArgumentTypes... >
 
using Return = uint32_t
 

Detailed Description

Definition at line 15 of file subscribe_runtime_version.hpp.

Constructor & Destructor Documentation

kagome::api::state::request::SubscribeRuntimeVersion::SubscribeRuntimeVersion ( std::shared_ptr< StateApi > &  api)
inlineexplicit

Definition at line 16 of file subscribe_runtime_version.hpp.

Member Function Documentation

outcome::result<Return> kagome::api::state::request::SubscribeRuntimeVersion::execute ( )
inlineoverridevirtual

Member Data Documentation

std::shared_ptr<StateApi> kagome::api::state::request::SubscribeRuntimeVersion::api_
private

Definition at line 26 of file subscribe_runtime_version.hpp.


The documentation for this struct was generated from the following file: