BitShares-Core  4.0.0
BitShares blockchain implementation and command-line interface software
Classes | Public Member Functions | Friends | List of all members
fc::generic_api Class Reference

#include <api_connection.hpp>

Public Member Functions

template<typename Api >
 generic_api (const Api &a, const std::shared_ptr< fc::api_connection > &c)
 
 generic_api (const generic_api &cpy)=delete
 
variant call (const string &name, const variants &args)
 
variant call (uint32_t method_id, const variants &args)
 
std::weak_ptr< fc::api_connectionget_connection ()
 
std::vector< std::string > get_method_names () const
 

Friends

struct api_visitor
 

Detailed Description

Definition at line 109 of file api_connection.hpp.

Constructor & Destructor Documentation

template<typename Api >
fc::generic_api::generic_api ( const Api &  a,
const std::shared_ptr< fc::api_connection > &  c 
)

Definition at line 415 of file api_connection.hpp.

fc::generic_api::generic_api ( const generic_api cpy)
delete

Member Function Documentation

variant fc::generic_api::call ( const string &  name,
const variants args 
)
inline

Definition at line 117 of file api_connection.hpp.

variant fc::generic_api::call ( uint32_t  method_id,
const variants args 
)
inline

Definition at line 126 of file api_connection.hpp.

std::weak_ptr< fc::api_connection > fc::generic_api::get_connection ( )
inline

Definition at line 134 of file api_connection.hpp.

std::vector<std::string> fc::generic_api::get_method_names ( ) const
inline

Definition at line 139 of file api_connection.hpp.

Friends And Related Function Documentation

friend struct api_visitor
friend

Definition at line 148 of file api_connection.hpp.


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