Kagome
Polkadot Runtime Engine in C++17
|
#include <subscribe_new_heads.hpp>
Public Member Functions | |
SubscribeNewHeads (std::shared_ptr< ChainApi > &api) | |
outcome::result< Return > | execute () override |
Public Member Functions inherited from kagome::api::details::RequestType< uint32_t > | |
RequestType ()=default | |
RequestType (const RequestType &)=delete | |
RequestType (RequestType &&)=delete | |
virtual | ~RequestType ()=default |
RequestType & | operator= (const RequestType &)=delete |
RequestType & | operator= (RequestType &&)=delete |
outcome::result< void > | init (const jsonrpc::Request::Parameters ¶ms) |
auto | getParam () -> typename std::tuple_element< I, decltype(params_)>::type & |
Private Attributes | |
std::shared_ptr< ChainApi > | api_ |
Additional Inherited Members | |
Public Types inherited from kagome::api::details::RequestType< uint32_t > | |
using | Params = std::tuple< ArgumentTypes... > |
using | Return = uint32_t |
Definition at line 16 of file subscribe_new_heads.hpp.
|
inlineexplicit |
Definition at line 17 of file subscribe_new_heads.hpp.
|
inlineoverridevirtual |
Implements kagome::api::details::RequestType< uint32_t >.
Definition at line 21 of file subscribe_new_heads.hpp.
|
private |
Definition at line 26 of file subscribe_new_heads.hpp.