Kagome
Polkadot Runtime Engine in C++17
kagome::api::system::request::Health Class Referencefinal

Return health status of the node. More...

#include <health.hpp>

Collaboration diagram for kagome::api::system::request::Health:

Public Member Functions

 Health (const Health &)=delete
 
Healthoperator= (const Health &)=delete
 
 Health (Health &&)=default
 
Healthoperator= (Health &&)=default
 
 Health (std::shared_ptr< SystemApi > api)
 
 ~Health ()=default
 
outcome::result< void > init (const jsonrpc::Request::Parameters &params)
 
outcome::result< jsonrpc::Value::Struct > execute ()
 

Private Attributes

std::shared_ptr< SystemApiapi_
 

Detailed Description

Return health status of the node.

See also
https://github.com/w3f/PSPs/blob/psp-rpc-api/psp-002.md#system_health

Definition at line 23 of file health.hpp.

Constructor & Destructor Documentation

kagome::api::system::request::Health::Health ( const Health )
delete
kagome::api::system::request::Health::Health ( Health &&  )
default
kagome::api::system::request::Health::Health ( std::shared_ptr< SystemApi api)
explicit

Definition at line 13 of file health.cpp.

kagome::api::system::request::Health::~Health ( )
default

Member Function Documentation

outcome::result< jsonrpc::Value::Struct > kagome::api::system::request::Health::execute ( )

Definition at line 25 of file health.cpp.

outcome::result< void > kagome::api::system::request::Health::init ( const jsonrpc::Request::Parameters &  params)

Definition at line 17 of file health.cpp.

Health& kagome::api::system::request::Health::operator= ( const Health )
delete
Health& kagome::api::system::request::Health::operator= ( Health &&  )
default

Member Data Documentation

std::shared_ptr<SystemApi> kagome::api::system::request::Health::api_
private

Definition at line 39 of file health.hpp.


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