Kagome
Polkadot Runtime Engine in C++17
kagome::api::chain::request::SubscribeFinalizedHeads Struct Referencefinal

#include <subscribe_finalized_heads.hpp>

Inheritance diagram for kagome::api::chain::request::SubscribeFinalizedHeads:
Collaboration diagram for kagome::api::chain::request::SubscribeFinalizedHeads:

Public Member Functions

 SubscribeFinalizedHeads (std::shared_ptr< ChainApi > &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< ChainApiapi_
 

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 13 of file subscribe_finalized_heads.hpp.

Constructor & Destructor Documentation

kagome::api::chain::request::SubscribeFinalizedHeads::SubscribeFinalizedHeads ( std::shared_ptr< ChainApi > &  api)
inlineexplicit

Definition at line 14 of file subscribe_finalized_heads.hpp.

Member Function Documentation

outcome::result<Return> kagome::api::chain::request::SubscribeFinalizedHeads::execute ( )
inlineoverridevirtual

Member Data Documentation

std::shared_ptr<ChainApi> kagome::api::chain::request::SubscribeFinalizedHeads::api_
private

Definition at line 24 of file subscribe_finalized_heads.hpp.


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