BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
#include <api_connection.hpp>
Public Member Functions | |
api_connection (uint32_t max_depth) | |
virtual | ~api_connection () |
template<typename T > | |
api< T > | get_remote_api (api_id_type api_id=0) |
virtual variant | send_call (api_id_type api_id, string method_name, variants args=variants())=0 |
virtual variant | send_callback (uint64_t callback_id, variants args=variants())=0 |
virtual void | send_notice (uint64_t callback_id, variants args=variants())=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 | |
fc::signal< void()> | closed |
const uint32_t | _max_conversion_depth |
Definition at line 240 of file api_connection.hpp.
|
inline |
Definition at line 243 of file api_connection.hpp.
|
inlinevirtual |
Definition at line 244 of file api_connection.hpp.
|
inline |
Definition at line 295 of file api_connection.hpp.
|
inline |
Definition at line 248 of file api_connection.hpp.
|
inline |
Definition at line 260 of file api_connection.hpp.
|
inline |
Definition at line 265 of file api_connection.hpp.
|
inline |
Definition at line 270 of file api_connection.hpp.
|
inline |
Definition at line 277 of file api_connection.hpp.
|
inline |
Definition at line 289 of file api_connection.hpp.
|
pure virtual |
makes calls to the remote server
Implemented in fc::local_api_connection, fc::rpc::websocket_api_connection, and fc::rpc::cli.
|
pure virtual |
Implemented in fc::local_api_connection, fc::rpc::websocket_api_connection, and fc::rpc::cli.
|
pure virtual |
Implemented in fc::local_api_connection, fc::rpc::websocket_api_connection, and fc::rpc::cli.
const uint32_t fc::api_connection::_max_conversion_depth |
Definition at line 298 of file api_connection.hpp.
fc::signal<void()> fc::api_connection::closed |
Definition at line 297 of file api_connection.hpp.