Kagome
Polkadot Runtime Engine in C++17
kagome::api::author::request::RotateKeys Class Referencefinal

#include <rotate_keys.hpp>

Inheritance diagram for kagome::api::author::request::RotateKeys:
Collaboration diagram for kagome::api::author::request::RotateKeys:

Public Member Functions

 RotateKeys (std::shared_ptr< AuthorApi > api)
 
outcome::result< Returnexecute () override
 
- Public Member Functions inherited from kagome::api::details::RequestType< common::Buffer >
 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< AuthorApiapi_
 

Additional Inherited Members

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

Detailed Description

Definition at line 17 of file rotate_keys.hpp.

Constructor & Destructor Documentation

kagome::api::author::request::RotateKeys::RotateKeys ( std::shared_ptr< AuthorApi api)
inlineexplicit

Definition at line 19 of file rotate_keys.hpp.

Member Function Documentation

outcome::result<Return> kagome::api::author::request::RotateKeys::execute ( )
inlineoverridevirtual

Member Data Documentation

std::shared_ptr<AuthorApi> kagome::api::author::request::RotateKeys::api_
private

Definition at line 28 of file rotate_keys.hpp.


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