Kagome
Polkadot Runtime Engine in C++17
|
#include <api_service.hpp>
Public Types | |
using | PubsubSubscriptionId = uint32_t |
subscription id for pubsub API methods More... | |
template<class T > | |
using | sptr = std::shared_ptr< T > |
Public Member Functions | |
virtual | ~ApiService ()=default |
virtual bool | prepare ()=0 |
virtual bool | start ()=0 |
virtual void | stop ()=0 |
virtual outcome::result< uint32_t > | subscribeSessionToKeys (const std::vector< common::Buffer > &keys)=0 |
virtual outcome::result< bool > | unsubscribeSessionFromIds (const std::vector< PubsubSubscriptionId > &subscription_id)=0 |
virtual outcome::result< PubsubSubscriptionId > | subscribeFinalizedHeads ()=0 |
virtual outcome::result< bool > | unsubscribeFinalizedHeads (PubsubSubscriptionId subscription_id)=0 |
virtual outcome::result< PubsubSubscriptionId > | subscribeNewHeads ()=0 |
virtual outcome::result< bool > | unsubscribeNewHeads (PubsubSubscriptionId subscription_id)=0 |
virtual outcome::result< PubsubSubscriptionId > | subscribeRuntimeVersion ()=0 |
virtual outcome::result< bool > | unsubscribeRuntimeVersion (PubsubSubscriptionId subscription_id)=0 |
virtual outcome::result< PubsubSubscriptionId > | subscribeForExtrinsicLifecycle (const primitives::Transaction::Hash &tx_hash)=0 |
virtual outcome::result< bool > | unsubscribeFromExtrinsicLifecycle (PubsubSubscriptionId subscription_id)=0 |
Service listening for incoming JSON RPC request
Definition at line 20 of file api_service.hpp.
using kagome::api::ApiService::PubsubSubscriptionId = uint32_t |
subscription id for pubsub API methods
Definition at line 23 of file api_service.hpp.
using kagome::api::ApiService::sptr = std::shared_ptr<T> |
Definition at line 26 of file api_service.hpp.
|
virtualdefault |
|
pure virtual |
Implemented in kagome::api::ApiServiceImpl.
|
pure virtual |
Implemented in kagome::api::ApiServiceImpl.
|
pure virtual |
Implemented in kagome::api::ApiServiceImpl.
|
pure virtual |
Implemented in kagome::api::ApiServiceImpl.
|
pure virtual |
Implemented in kagome::api::ApiServiceImpl.
|
pure virtual |
Implemented in kagome::api::ApiServiceImpl.
|
pure virtual |
Implemented in kagome::api::ApiServiceImpl.
|
pure virtual |
Implemented in kagome::api::ApiServiceImpl.
|
pure virtual |
Implemented in kagome::api::ApiServiceImpl.
|
pure virtual |
Implemented in kagome::api::ApiServiceImpl.
|
pure virtual |
Implemented in kagome::api::ApiServiceImpl.
|
pure virtual |
Implemented in kagome::api::ApiServiceImpl.
|
pure virtual |
Implemented in kagome::api::ApiServiceImpl.