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

Get the node's implementation name. More...

#include <name.hpp>

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

Public Member Functions

 Name (const Name &)=delete
 
Nameoperator= (const Name &)=delete
 
 Name (Name &&)=default
 
Nameoperator= (Name &&)=default
 
 Name (std::shared_ptr< SystemApi > api)
 
 ~Name ()=default
 
outcome::result< void > init (const jsonrpc::Request::Parameters &params)
 
outcome::result< std::string > execute ()
 

Private Attributes

std::shared_ptr< SystemApiapi_
 

Detailed Description

Get the node's implementation name.

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

Definition at line 23 of file name.hpp.

Constructor & Destructor Documentation

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

Definition at line 12 of file name.cpp.

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

Member Function Documentation

outcome::result< std::string > kagome::api::system::request::Name::execute ( )

Definition at line 23 of file name.cpp.

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

Definition at line 16 of file name.cpp.

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

Member Data Documentation

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

Definition at line 39 of file name.hpp.


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