BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
#include <api_connection.hpp>
Public Member Functions | |
local_api_connection (uint32_t max_depth) | |
~local_api_connection () | |
virtual variant | send_call (api_id_type api_id, string method_name, variants args=variants()) override |
virtual variant | send_callback (uint64_t callback_id, variants args=variants()) override |
virtual void | send_notice (uint64_t callback_id, variants args=variants()) override |
void | set_remote_connection (const std::shared_ptr< fc::api_connection > &rc) |
const std::shared_ptr< fc::api_connection > & | remote_connection () const |
Public Member Functions inherited from fc::api_connection | |
api_connection (uint32_t max_depth) | |
virtual | ~api_connection () |
template<typename T > | |
api< T > | get_remote_api (api_id_type api_id=0) |
variant | receive_call (api_id_type api_id, const string &method_name, const variants &args=variants()) const |
variant | receive_callback (uint64_t callback_id, const variants &args=variants()) const |
void | receive_notice (uint64_t callback_id, const variants &args=variants()) const |
template<typename Interface > | |
api_id_type | register_api (const Interface &a) |
template<typename Signature > | |
uint64_t | register_callback (const std::function< Signature > &cb) |
std::vector< std::string > | get_method_names (api_id_type local_api_id=0) const |
Public Attributes | |
std::shared_ptr< fc::api_connection > | _remote_connection |
Public Attributes inherited from fc::api_connection | |
fc::signal< void()> | closed |
const uint32_t | _max_conversion_depth |
Definition at line 379 of file api_connection.hpp.
|
inline |
Definition at line 382 of file api_connection.hpp.
|
inline |
Definition at line 383 of file api_connection.hpp.
|
inline |
Definition at line 409 of file api_connection.hpp.
|
inlineoverridevirtual |
makes calls to the remote server
Implements fc::api_connection.
Definition at line 386 of file api_connection.hpp.
|
inlineoverridevirtual |
Implements fc::api_connection.
Definition at line 391 of file api_connection.hpp.
|
inlineoverridevirtual |
Implements fc::api_connection.
Definition at line 396 of file api_connection.hpp.
|
inline |
Definition at line 403 of file api_connection.hpp.
std::shared_ptr<fc::api_connection> fc::local_api_connection::_remote_connection |
Definition at line 411 of file api_connection.hpp.